Format definition
An Adonix format presents itself in the following way :
Type SubType Option {attr1,attr2, , attr11} : Formatting characters
Only the type and the format characters are mandatory.
Example of formats
Below several format examples are displayed as a function of the field type.
Field type |
Format |
Meaning |
A |
K:3X8A3# |
Any 3 characters, 8 Uppercase letters and 3 numbers |
A |
K{-1,-1,-1,32}:200X |
Alphanumeric field of 200 characters, entered over 4 lines . |
DCB |
NZ:6.2 |
Integer section made up of 6 numbers, decimal section of 2 numbers |
DCB |
NZ:6.2 [euros] |
identical. |
DCB |
NPZ:6.2 |
Identical. |
D |
D:DDMMYY |
Date in the form: DDMMYY |
D |
D:DD[/]MM[/]YY |
Date in the form: DD/MM/YY |
D |
D:DD[/]MM[/]YY |
Identical. |
The types
The type defines the nature of the field. It is mandatory to enter it.
Type |
Meaning |
K |
Character string |
N |
Number |
D |
Date |
The sub--types
The sub-types can be applied to any field type :
Sub-type |
Meaning |
W |
Contents of the field displayed at the bottom of the screen |
The sub-types applicable to the K type fields :
Sub-type |
Meaning |
H |
Field containing a file of the type RTF |
R |
Field containing a file of the type RTF |
@ |
Field containing a L4G file |
U |
Field containing an executable line |
I : |
Image field. The sub-type is completed by a number to specify the display mode for the image : (corresponding in the supervisor to the graphical object : photo ) |