Sets or returns a value that provides information about the source of an open database. For Database objects not yet appended to a collection, this property setting is read/write.
Syntax
VOIDSetConnect(LPCTSTR pstrConnect);
CStringGetConnect(VOID);
Set Parameters
Type | Example | Description |
LPCTSTR | pstrConnect | A pointer to a string that specifies additional parameters to pass to ODBC or installable ISAM drivers. Use semicolons to separate parameters. |
Remarks
The Connect property specifies the database type and any other parameters used to connect to external databases. See the Database object topic for more details.