Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports
Message
From
29/04/2002 14:27:36
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
 
 
To
28/04/2002 21:39:49
Hector Bagabaldo
Software Solutions, Incorporated
Makati, Philippines
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00650207
Message ID:
00650527
Views:
16
You'll have to sue the LogonInfo method. The Connect method is only used if your report accesses only one database. If it tries for 2 or more you have to use LogonInfo. Specify the index as per the order of the tables in the report. e.g.
    'crptDocList.LogonInfo(0) = "DSN = " & SQLName & ";UID = " & UID & ";PWD = " & PWD & ";DSQ = " & DBName
    'crptDocList.LogonInfo(1) = "DSN = " & SQLName & ";UID = " & UID & ";PWD = " & PWD & ";DSQ = " & DBName
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform