If an error appears before the user has entered anything, check which event point issues it. PRE-DISPLAY/VERIFY also runs on the way into the screen.
VERIFY
After the operator enters data and presses Return, validate the values and issue any ERROR or WARNING messages. VERIFY did not exist in SPEED II.
PRE-DISPLAY
PRE-DISPLAY runs only once when a record is initially retrieved in CHANGE or INQUIRE mode - just before the screen is displayed. In ADD mode it is executed once for each ENTRY LEVEL which occurs - just before the screen is displayed.
The primary purpose of the PRE-DISPLAY event point is to allow default values to be set, screen attributes such as NO INPUT, etc.
PRE-DISPLAY/VERIFY
APPX retained this event from SPEED II. It runs before the screen is displayed after retrieving a record (much like PRE-DISPLAY).
However, it is also executed after data entry - after the VERIFY event point - just before the screen is redisplayed. It can be executed multiple times for a record being processed, not just once like PRE-DISPLAY. This is intended to facilitate displaying of related information such as data lookups, results of calculations, etc.
This event point should not be used to validate data unless the ERROR and WARNING messages are intended to be displayed when the screen is initially displayed since they will be executed at that point as well.
ERROR and WARNING messages
ERROR and WARNING messages have effect only in ADD, CHANGE, and DELETE modes. They do not display messages in INQUIRE mode (varies somewhat by APPX release, some versions display error/warning messages & let the user continue, some don't display it at all).
If an application converted from SPEED II has ERROR and WARNING messages which are being executed at undesirable times, then those commands should be moved to the VERIFY event point.
PRE-DISPLAY/VERIFY VERIFY