Hi!
I am developing an application that uses a Crystal report component. So far I have no problems connecting that report with SQL Server using user and password.
This is the code:
CrystalReport1.Connect = "Data Source=" + strServer + ";UID=" + strUser + ";PWD=" + strPass + ";DSQ=Example;"
CrystalReport1.ReportFileName = gsCaminoApli & "\" & strNombre & ".rpt"
CrystalReport1.SelectionFormula = strCrit
CrystalReport1.Destination = crptToWindow
CrystalReport1.Action = 1
Now I need to make this connection with a trusted connection (Windows authentification). I have tryed any possiblities with the connection string, but I was not able to figure it out.
Please help me
Thanks!!!