SetLogOnInfo Method (DatabaseTable Object)
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.
|