User interface / Editable record list |
The INPUT ARRAY supports data entry by users into a screen array and stores the entered data in an array of records.
INPUT ARRAY array [ WITHOUT DEFAULTS ] FROM screen-array.* [ ATTRIBUTES ( { display-attribute | control-attribute } [,...] ) ] [ HELP help-number ] [ dialog-control-block [...] END INPUT ]
{ BEFORE INPUT | AFTER INPUT | AFTER DELETE | BEFORE ROW | AFTER ROW | BEFORE FIELD field-spec [,...] | AFTER FIELD field-spec [,...] | ON ROW CHANGE | ON CHANGE field-spec [,...] | ON IDLE idle-seconds | ON ACTION action-name [INFIELD field-spec ] | ON KEY ( key-name [,...] ) | BEFORE INSERT | AFTER INSERT | BEFORE DELETE } dialog-statement [...]
{ statement | ACCEPT INPUT | CONTINUE INPUT | EXIT INPUT | NEXT FIELD { CURRENT | NEXT | PREVIOUS | field-spec } | CANCEL DELETE | CANCEL INSERT }
{ field-name | table-name.field-name | screen-array.field-name | screen-record.field-name }where display-attribute is:
{ BLACK | BLUE | CYAN | GREEN | MAGENTA | RED | WHITE | YELLOW | BOLD | DIM | INVISIBLE | NORMAL | REVERSE | BLINK | UNDERLINE }where control-attribute is:
{ ACCEPT [ = boolean ] | APPEND ROW [ = boolean ] | AUTO APPEND [ = boolean ] | CANCEL [ = boolean ] | COUNT = row-count | DELETE ROW [ = boolean ] | FIELD ORDER FORM | HELP = help-number | INSERT ROW [ = boolean ] | KEEP CURRENT ROW [ = boolean ] | MAXCOUNT = max-row-count | UNBUFFERED [ = boolean ] | WITHOUT DEFAULTS [ = boolean ] }