Option Intercept
The Option Intercept event point executes after an image is presented and the user selects an option (including enter). It is followed by the frame-level event point Global Option Intercept.
Because Option Intercept is an image-level event point, it is used for image-specific routines. Recall that the frame-level event point Global Option Intercept can be used for routines that apply to all alternate images.
Option Intercept is found only in menu and input processes. It is used, for example, to:
· Interrogate the predefined field OPTION to determine which option the user selected. OPTION can be modified during this event point. You can also include ERROR statements to prohibit the selection of a specific option, but ERROR statements are ignored in inquire mode.
· Create auxiliary records. For example, you might include statements to create invoice records from information that is stored on a purchase order record when the user selects a specific option key.