Components of transaction fields

Here is a description of each part of a transaction field in the Transaction description dialog.

No.

A reference number listing the fields within the transaction description.

Field name

A label that ties the transaction field to an actual field on a form, to process-related date such as date or time, or to a value you give it. Symbols:

# - System variables

& - field complements

¤ - sytem variables in start and stop transactions

In order for a transaction field to correspond to an actual field on a form, the field name and index listed in the transaction description must be identical to the name and index of a field in the form definition.

Idx

The field's index. Unindexed (stand-alone) fields have the index 0. Fields that you add yourself also have the index 0.

Format

Part

Example

Meaning

Justification

-" "A(1)N(5) 

- means left justified

Pad character

-" "A(1)N(5)

" " means that the pad character is a space

Data format

-" "A(1)N(5)

A(1)N(5) means that the data consists of one letter followed by five digits

Pad always

Indicates whether or not the field is to be padded to its maximum length (Len), regardless of whether Compact is selected in the Transaction description options dialog. One (1) means that the field is to be padded, and zero (0) means that it is not.

Len

The length of the output data in characters.

Pos

The position within the record where the output data from that particular transaction field is to begin. FORMS determines the position automatically. Do not pay any attention to the position if there are conditional statements in the transaction description. In that case "position" is incorrect and each record will be of a different size.

Expression

The Expression box contains one of these:

Form name

Only present in transaction descriptions for sets. Tells FORMS which form the transaction field is to correspond with.

Occurrence

Only present in transaction descriptions for sets. When a form can occur more than once within the same set, it indicates which occurrence of the form (within the set) a transaction field relates to.

Editing a transaction description

Specifying the format of the output data

Transaction descriptions: Overview