AUTONEXT

The AUTONEXT attribute causes the cursor to advance automatically during input to the next field when the current field is full.

4GLREF00000036.gif

field-tag is the field tag that you declared in the SCREEN Section.

You specify the order of fields in each INPUT or INPUT ARRAY statement.

If the most recent OPTIONS statement specifies INPUT WRAP, the next field after the last field is the first field.

AUTONEXT is particularly useful with character fields in which the input data are of a standard length, such as numeric postal codes, or the abbreviations in the state table. It is also useful if a character field has a length of one, since only one keystroke is required to enter data and move to the next field.

If data values entered in the field do not meet requirements of other field attributes like INCLUDE or PICTURE, the cursor does not automatically move to the next field, but remains in the current field.

Related Attributes

COLOR
INCLUDE
REVERSE
COMMENTS
INVISIBLE
UPSHIFT
DEFAULT
NOENTRY
VALIDATE LIKE
DISPLAY LIKE
PICTURE
VERIFY
DOWNSHIFT
PROGRAM
WORDWRAP
FORMAT
REQUIRED