ACCEPT CONSTRUCT instruction
The ACCEPT CONSTRUCT
instruction validates the CONSTRUCT
instruction and exits the dialog block if no error is raised.
The AFTER FIELD
and AFTER CONSTRUCT
control blocks will be
executed.
The statements after the ACCEPT CONSTRUCT
will not be executed.
CONSTRUCT BY NAME where_part ON ...
...
ON ACTION default_query
CALL set_default_filter()
ACCEPT CONSTRUCT
...
END CONSTRUCT
The CONSTRUCT
instruction creates the default accept action to let the user
validate the dialog. Use the ACCEPT CONSTRUCT
instruction only in specific cases
when the default accept action is not appropriate.