AFTER DISPLAY block

The AFTER DISPLAY block is executed one time, after the user has accepted or canceled the dialog, but before executing the next statement in the program.

In this program, the statements in this block determine the current position of the cursor when the user presses OK or Cancel, so the correct store number and name can be returned to the calling function.