PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
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).
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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