ACCEPT INPUT instruction

Syntax

ACCEPT INPUT

Usage

The ACCEPT INPUT instruction validates and exits the INPUT instruction, if no error is raised.

The AFTER FIELD, ON CHANGE, etc. control blocks will be executed.

The statements after the ACCEPT INPUT instruction will be skipped.

INPUT BY NAME cust_rec.*
  ...
  ON ACTION process_order
    CALL set_missing_defaults()
    ACCEPT INPUT
  ...
END INPUT

The INPUT instruction creates the default accept action to let the user validate the dialog. Use of the ACCEPT INPUT instruction is recommended only in specific cases when the default accept action is not appropriated.

The ACCEPT INPUT instruction can only be used in a singular INPUT dialog, it cannot be used in a DIALOG / END DIALOG multiple dialog block.