PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
CtInitialCatalog (Property)
In french: CxInitialCatalog
OLE DBAvailable only with this kind of connection
The CtInitialCatalog property is used to get the default database defined for the access. You have the ability to identify the default database defined for the connection for example.
This information was specified:
This property can be used for a data file or for a connection defined in the data model editor or through programming.
Example
// Find out the database that will be used on the data source
// of "MyConnection"
Info(MyConnection.CtInitialCatalog)
Syntax
<Initial Catalog> = <File name/connection>.CtInitialCatalog
<Initial Catalog>: Character string
  • Database that will be used on the data source of the connection.
  • Empty string ("") if no specific database is required by the connection.
<File name/connection>: Character string
Remarks
The CtInitialCatalog property is used to get the default database of a connection. This property is kept for backward compatibility. It is recommended to use the Database property to read and change the database of a connection.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment