BEFORE INPUT block

The BEFORE INPUT block is executed once at dialog startup, before the runtime system gives control to the user. This block can be used to display messages to the user, initialize program variables and setup the dialog instance by deactivating unused fields or actions the user is not allowed to execute.

INPUT ARRAY cust_rec.* FROM sr.* ...
   BEFORE INPUT
       MESSAGE "Input orders"
       CALL DIALOG.setActionActive("commit_order", TRUE )
   ...