Use the IDLdbDatabase::Connect procedure method to connect to the data source associated with a database object.
DBobj -> [IDLdbDatabase::]Connect [, CONNECTION=string] [, DATASOURCE=string] [, USER_ID=string] [, PASSWORD=string]
Set this keyword equal to a raw ODBC connection string. No preprocessing is performed on the string before it is passed to the ODBC system. If this keyword is set, all other keywords are ignored. This keyword is useful mainly for advanced ODBC users.
Set this keyword equal to a string containing the name of a datasource to which you wish to connect. This name is dependent on the data source. Depending on the database you use, you may be able to specify a default data source. See the Connect ODBC Reference section for your database or "ODBC Configuration on UNIX Systems" in the IDL DataMiner Guide for details.
Set this keyword equal to a string containing the user login name or ID used to log into the datasource.
Set this keyword equal to a string containing the password corresponding to the user ID.