PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
Format is used to configure the format of data for a data file. You can:
  • Find out the format of data used for a data file (file defined in the data model editor or by programming).
  • Define the format of data for a data file (when the file is described by programming).
Example
// Defining the format of data
Customer.Format = hUNICODEFormat
...
// Validate the data file description
HDescribeFile(Customer)
Syntax

Finding out the format of data 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 (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 format of data Hide the details

<Data file>.Format = <New format>
<Data file>: Character string (with or without quotes)
Name of 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