Optional
DecDefines the decimal separator. Example: .
Optional
FmtDefines the format pattern that applies to qText . Is used in connection to the type of the field (parameter qType ). For more information, see Formatting mechanism. Example: YYYY-MM-DD for a date.
Optional
nNumber of decimals. Default is 10.
Optional
ThouDefines the thousand separator (if any). Is used if qUseThou is set to 1. Example: ,
Optional
TypeOptional
UseDefines whether or not a thousands separator must be used. Default is 0.
Sets the formatting of a field. The properties of qFieldAttributes and the formatting mechanism are described below.
Formatting mechanism
The formatting mechanism depends on the type set in qType, as shown below:
Type is DATE, TIME, TIMESTAMP or INTERVAL
The following applies:
Type is INTEGER
The following applies:
Type is REAL
The following applies:
Type is FIX
The following applies:
Type is MONEY
The following applies:
Type is ASCII
No formatting, qFmt is ignored.