The
Format property is used to define the data format of a data file. You can:
- Identify the data format used for a data file (defined in the data model editor or through programming).
- Define the data format used for a data file (described through programming only).
// Defining the format of data
Customer.Format = hUNICODEFormat
...
// Validate the data file description
HDescribeFile(Customer)
Syntax
Identifying the data format Hide the details
<Current format> = <Data file>.Format
<Current format>: Integer constant
One of the available formats: | |
hANSIFormat | Ansi format (used by Windows). |
hUNICODEFormat | Unicode format. |
<Data file>: Character string
Name of the data file used. This name was defined in the data model editor or with the File Description type.
<Data file>: Character string
Name of the data file used. This name was defined by the File Description type.
<New format>: Integer constant
One of the available formats: | |
hANSIFormat | Ansi format (used by Windows). |
hUNICODEFormat | Unicode format. |