Connect

Connect specifies the information required to log on to an SQL server or an ODBC data source.

Syntax
[form.]Report.Connect[= 
DataSourceName;UserID;Password;DatabaseQualifier$]

For example:

CrystalReport1.Connect = "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.Connect = "dsn=; uid=; pwd=bigboard; dsq="

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

Remarks

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

Data Type

String

Availability

Design Time; Runtime

Related Report Engine Functions

PESetNthTableLogOnInfo



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