EXIT SUBSTATEMENT IN FORM LAYOUTS

The EXIT substatement of the FIELD statement terminates the form when the cursor enters this form field (BEFORE) or leaves this form field (AFTER).  EXIT can be used in place of entering <CTRL>Z.

SYNTAX

/[EXIT [BEFORE, /AFTER/]]

EXAMPLE

/EXIT BEFORE
/EXIT AFTER (or) /EXIT

NOTE:  EXIT fixes a built-in exit at a certain form field.  The form will be exited if the EXIT field is specified when data entry is terminated (<RETURN> is pressed or a key value stored in @TERM_LIST is seen).

Back to ID Substatement    Next page Picture Substatement