Set definition file format

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 three columns

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

The file heading is always the same:

SETFIL          4   V1.1

Each form definition included in the set definition

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 Level in the Set definition dialog.

From

Corresponds to From in the Set definition dialog.

To

Corresponds to To in the Set definition dialog.

Sequence

Corresponds to Sequence in the Set definition dialog.

Break expression

Corresponds to Break expression in the Set definition dialog. If there is no break expression, specify the length as 0 and do not include a value.

Set sum validation

After all the form definitions included in the set definition are specified, the following lines define a set sum validation:

Sum field

Corresponds to Total sum field in the Set validation dialog.

Sum max. diff.

Corresponds to Max. diff. in the Set validation dialog.

Sum list

Corresponds to Sum up fields in the Set validation 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

End of file

The final line in the file is:

EndOfFile 

Always 0.

Methods for the Application object for use with the Manager