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
CtDescribedAccess (Property)
In french: CxAccèsDécrit
OLE DBAvailable only with this kind of connection
..CtDescribedAccess is used to manage the type of access to the data file during the OLE DB connection to a specific table. You can:
  • Find out the type of access to the data file used for connecting to a table by OLE DB. This type of access was described in the data model editor or when the data file was described by programming.
    Caution: ..CtDescribedAccess 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 type of access to the data file used for connecting to a table by OLE DB (when the data file is described by programming). This property is equivalent to ..CtAccess.
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 was described by programming.
Example
// Find out the type of access to Customer file
ResAccessType = Customer..CtDescribedAccess
Syntax

Finding out the type of access to the data file by OLE DB Hide the details

<Type of access> = <File name>..CtDescribedAccess
<Type of access>: Constant
Returns the type of access to the specified data file.
This information was defined during the description of the data file (in the data model editor or by programming).
hOReadWriteThe data file can be accessed in read/write. You have the ability to read the records and to write new records.
hOReadThe data file can be accessed in read-only. You only have the ability to read the records. No record can be added or deleted.
<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 type of access to the file via OLE DB Hide the details

<File name>..CtDescribedAccess = <Type of access>
<File name>: Character string (with or without quotes)
Name of data file used. This name was defined by the File description type.
<Type of access>: Constant
Defines the type of access to the data file.
hOReadWriteThe data file can be accessed in read/write. You have the ability to read the records and to write new records.
hOReadThe data file can be accessed in read-only. You only have the ability to read the records. No record can be added or deleted.
Remarks
..CtAccess is used to find out the type of access currently used for the OLE DB connection. This property can also be used to define the type of access used (when the data file is described by programming).
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment