ACCEPT DISPLAY instruction
Syntax
ACCEPT DISPLAY
Usage
The ACCEPT DISPLAY
instruction validates and exists the DISPLAY
ARRAY
instruction.
DISPLAY ARRAY custlist TO sr_cust.* ...
...
ON ACTION validate_row
IF validateRow(arr_curr()) THEN
ACCEPT DISPLAY
ELSE
CONTINUE DISPLAY
END IF
...
END DISPLAY
The AFTER ROW
and AFTER DISPLAY
control block will be
executed.
Statements after ACCEPT DISPLAY
will be skipped.
The ACCEPT DISPLAY
instruction can only be used in a singular DISPLAY
ARRAY
dialog, it cannot be used in a DIALOG / END DIALOG
multiple dialog
block.