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
Format (Property)
In french: Format
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).
Example
// 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:
hANSIFormatAnsi format (used by Windows).
hUNICODEFormatUnicode 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.

Defining the data format Hide the details

<Data file>.Format = <New format>
<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:
hANSIFormatAnsi format (used by Windows).
hUNICODEFormatUnicode format.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/01/2024

Send a report | Local help