LogOnInfo

LogOnInfo specifies the information required to log on to one or more SQL servers or password-protected databases.

Syntax
[form.]Report.LogOnInfo(ArrayIndex)[ = 
Name;UserID;Password;DatabaseQualifier$]

For example:

CrystalReport1.LogOnInfo[0] = "DSN = Accounting;UID = 734;PWD = 
bigboard;DSQ = Administration"

«Connects to the "Administration" database on the "Accounting" server using the user ID #734 and the password "bigboard".»

CrystalReport1.LogOnInfo[0] = dsn=;uid=;pwd=bigboard;dsq=?

«Connects to a password-protected Paradox database. All that is being passed is the password bigboard.»

Remarks
CrystalReport1.LogOnInfo(0) = "DSN = NEW;UID = 734;PWD = bigboard;DSQ = 
Administration1"CrystalReport1.LogOnInfo(2) = "DSN = NEW;UID = 734;PWD = 
bigboard;DSQ = Administration2"

DSN = name;UID = userID;PWD = password;DSQ = database qualifier

Data Type

Array of strings

Availability

Runtime



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com