ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / HFSQL properties
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. For example, you can get the default database defined for the connection.
This information is specified:
This property can be used for a data file or connection defined in the data model editor or programmatically.
Example
// Get the database to be used on the data source
// of "MyConnection"
Info(MyConnection.CtInitialCatalog)
Syntax
<Initial Catalog> = <File name/connection>.CtInitialCatalog
<Initial Catalog>: Character string
  • Database used for the connection.
  • Empty string ("") if the connection does not require a specific database.
<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

Last update: 03/14/2024

Send a report | Local help