SetLogOnInfo Method (DatabaseTable Object)

Sample Code - SetLogOnInfo Method

The SetLogOnInfo method logs on to the data source so table data can be accessed.

Syntax

object.SetLogOnInfo DllName, ServerName, DatabaseName, UserID, Password

Parameters

DllName

Specifies the DLL used to access the database by the Crystal Report Engine (that is, PDSODBC.DLL).

ServerName

Specifies the name of the server or ODBC data source where the database is located (that is, CRSS).

DatabaseName (Optional)

Specifies the name of the database.

UserID (Optional)

Specifies a valid user name for logging on to the data source.

Password (Optional)

Specifies a valid password for logging on to the data source.



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