PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
CtDescribedDatabase (Property)
In french: CxBaseDeDonnéesDécrite
OLE DBAvailable only with this kind of connection
..CtDescribedDatabase is used to manage the OLE DB data source during the OLE DB connection to a specific table. You can:
  • Find out the OLE DB data source used for the connection to a table by OLE DB. This data source was described in the data model editor or when the data file was described by programming.
    Caution: ..CtDescribedDatabase ignores the possible modifications performed by HConnect.
    This property can be used for a data file defined in the data model editor or by programming.
  • Define the OLE DB data source used for connecting to a table by OLE DB (when the data file is described by programming). This property is equivalent to ..CtDatabase.
Reminder: HConnect is 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 defined:
  • in the data model editor during the description of the data file,
  • when the data file is described by programming.
Example
// Find out the OLE DB data source
ResOLEDBDatabase = Customer..CtDescribedDatabase
Syntax

Finding out the OLE DB data source Hide the details

<OLE DB data source> = <File name>..CtDescribedDatabase
<OLE DB data source>: Character string
Full path of the OLE DB data source, specified during the description of the file.
<File name>: Character string (with or without quotes)
Name of data file used. This name was defined in the data model editor or by the File description type.

Defining the OLE DB data source Hide the details

<File name>..CtDescribedDatabase = <OLE DB data source>
<File name>: Character string (with or without quotes)
Name of data file used. This name was defined by the File description type.
<OLE DB data source>: Character string
Full path of OLE DB data source.
Remarks
..CtDatabase is used to find out and modify the data source specified for the OLE DB connection.
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment