Crystal Reports Trusted Connection
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Anybody has idea how will i connect my crystal reports on a trusted connection. My code goes like this:
Dim CRReport As CRAXDDRT.Report Dim crDBTab As CRAXDDRT.DatabaseTable For Each crDBTab In CRReport.Database.Tables crDBTab.SetLogOnInfo sServerName, sDatabaseName, sUserID, sPassword Next 'For Each crDBTab In Report.Database.Tables
If I am to use a trusted connection sUserID and sPassword must not be supplied coz the Windows Auntheticity will be used, anybody has an idea on how it will be done?