Previous Topic: Use the Enter Command to UpdateNext Topic: Refresh the Screen on Cancel


Use the Enter Command to Display

You can determine that when the user presses Enter after changing the data in the screen identifier fields, a new screen appears that displays the selection identified by the screen identifier field. This assumes that the Enter key is assigned a command of ENTER.

The following example shows the logic if you choose to have the user press Enter to display the next selection:

NOTE The ENTER command is used to request a DISPLAY
of the next selection. Convert ENTER to
DISPLAY if the key has changed.
IF COMMAND IS EQUAL TO enter
AND import customer number IS NOT EQUAL TO
import_hidden_id customer number
COMMAND IS display