This table shows the order in which the runtime system executes
the control blocks in the DISPLAY ARRAY instruction,
according to the user action:
Table 1. Control blocks execution order in DISPLAY ARRAY
| Context / User action |
Control Block execution order |
| Entering the dialog |
- BEFORE DISPLAY
- BEFORE ROW
|
| Moving to a different row |
- AFTER ROW (the current row)
- BEFORE ROW (the new row)
|
| Validating the dialog |
- AFTER ROW
- AFTER DISPLAY
|
| Canceling the dialog |
- AFTER ROW
- AFTER INPUT
|
| Firing the insert or append action
for the ON INSERT block |
- AFTER ROW
- ON INSERT
- BEFORE ROW
|
| Firing the delete action for the ON
DELETE block |
- AFTER ROW
- ON DELETE
- BEFORE ROW
|