ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
CtDescribedAccess (Property)
In french: CxAccèsDécrit
OLE DBAvailable only with this kind of connection
The CtDescribedAccess property is used to set the type of access to the data file when connecting to a specific table via OLE DB. You can:
  • Get the type of access to the data file used to connect to a table via OLE DB. This type of access is defined in the data model editor or when defining the data file programmatically.
    Warning: The CxAccèsDécrit 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 type of access to the data file used for connecting to a table via OLE DB (only for data files defined programmatically). This property is equivalent to the CtAccess 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.
Example
// Connaître le type d'accès au fichier de données Client
ResTypeAccès = Client.CxAccèsDécrit
Syntax

Getting the type of access to the data file via OLE DB Hide the details

<Type of access> = <Data file>.CtDescribedAccess
<Type of access>: Constant
Returns the type of access to the specified data file.
This information is defined when defining the data file (in the data model editor or programmatically).
hOReadThe data file can be accessed in read-only mode. It is only possible to read records. It is not possible to add or remove records.
hOReadWriteThe data file can be accessed in read/write mode. It is possible to read and write new records.
<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 type of access to the file via OLE DB Hide the details

<Data file>.CtDescribedAccess = <Type of access>
<Data file>: Character string
Name of the data file used. This name is defined with the File Description type.
<Type of access>: Constant
Defines the type of access to the data file.
hOReadThe data file can be accessed in read-only mode. It is only possible to read records. It is not possible to add or remove records.
hOReadWriteThe data file can be accessed in read/write mode. It is possible to read and write new records.
Remarks
The CtAccess property is used to identify the type of access currently used for the OLE DB connection. This property can also be used to define the type of access (only for data files defined programmatically).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/13/2025

Send a report | Local help