Using simple record inputs / INPUT control instructions |
The ACCEPT INPUT instruction validates the INPUT instruction and exits the dialog block if no error is raised.
The AFTER FIELD, ON CHANGE, etc. control blocks will be executed.
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. The ACCEPT INPUT instruction should only be used in specific cases when the default accept action is not appropriated.