This topic describes format of the file created by ExportSetDefinitionToFile and expected by ImportSetDefinitionFromFile.
Each line in the file is terminated with a DOS style CR and LF (0x0D, 0x0A).
Another help topic shows a concrete example of this file format.
The file consists of three columns:
|
1 |
The name of the value. (Values are explained below.) |
|
2 |
The number of characters in the value. |
|
3 |
The value itself. |
The file heading is always the same:
SETFIL 4 V1.1
After the file’s heading, each form definition included in the set definition is specified on six lines:
|
Name |
The name of the form definition. |
|
Level |
Corresponds to in the dialog. |
|
From |
Corresponds to in the dialog. |
|
To |
Corresponds to in the dialog. |
|
Sequence |
Corresponds to in the dialog. |
|
Break expression |
Corresponds to in the dialog. If there is no break expression, specify the length as 0 and do not include a value. |
After all the form definitions included in the set definition are specified, the following lines define a set sum validation:
|
Sum field |
Corresponds to in the dialog. |
|
Sum max. diff. |
Corresponds to in the dialog. |
|
Sum list |
Corresponds to in the dialog. Add as many occurrences of this line as is necessary to specify each field included in the sum list. |
If no set sum validation is specified in the file, these three lines are replaced by a single line:
Sum max. diff. 4 0.00
The final line in the file is:
|
EndOfFile |
Always 0. |