|
|
|
|
|
CtDescribedDatabase (Property) In french: CxBaseDeDonnéesDécrite
Available only with this kind of connection
The CtDescribedDatabase property is used to set the OLE DB data source when connecting to a specific table via OLE DB. You can: - Get the OLE DB data source used to connect to a table via OLE DB. This data source is defined in the data model editor or when defining the data file programmatically.
Warning: the CxDescribedDatabase property property does not take into account any modifications made with the HConnect function. This property can be used for a data file defined in the data model editor or programmatically. - Define the OLE DB data source used to connect to a table via OLE DB (only for data files defined programmatically). This property is equivalent to the CtDatabase property.
Reminder The HConnect function can be used to redefine one or more parameters of the OLE DB connection to a table. By default, the characteristics of the OLE DB connection are set: - when defining the data file in the data model editor,
- when defining the data file programmatically.
ResBaseOLEDB = Client.CxBaseDeDonnéesDécrite
Syntax
Getting the OLE DB data source Hide the details
<OLE DB data source> = <Data file>.CtDescribedDatabase
<OLE DB data source>: Character string Full path of the OLE DB data source, specified in the data file description. <Data file>: Character string Name of the data file used. This name is defined in the data model editor or with the File Description type.
Defining the OLE DB data source Hide the details
<Data file>.CtDescribedDatabase = <OLE DB data source>
<Data file>: Character string Name of the data file used. This name is defined with the File Description type. <OLE DB data source>: Character string Full path of the OLE DB data source. Remarks The CtDatabase property gets and sets the data source specified for the OLE DB connection.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|