Skip to content

FIELD-NO

FUNCTION

This numeric variable interacts with the INPUT SCREEN command. FIELD-NO contains the number of the last field processed by an INPUT SCREEN command. This option will begin input at the data item specified by screen-name.FIELD-NO.

SYNTAX

screen-name.FIELD-NO
screen-name
t<M%-3>he name of a screen defined in Dictionary-IV.

NOTES

  • This variable must be qualified by preceding it with the name of a screen. The screen name must be delimited from the variable by a period.
  • FIELD-NO specifies the field number in the screen element order list. For example, screen-name.FIELD-NO = 1 specifies the first field in the element order defined for that screen, screen-name.FIELD-NO = 2 specifies the second field, and so on.
  • The FIELD-NO variable is useful for overriding, from within a preprocessing or post-processing procedure, the order in which data are automatically collected from fields on a screen. The FIELD-NO variable is not valid in a post-help procedure.
  • If FIELD-NO is used to set the starting field number, the corresponding INPUT SCREEN command must use the RESUME clause.

EXAMPLES

LET 4SCUST.FIELD-NO = 3

SEE ALSO

LET, FIELD, INPUT SCREEN, COLUMN, LENGTH, LINE, SN, TERM-KEY

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF