Using VPLUS: An Introduction to Forms Design (32209-90004)

3-20
Figure 3-18. The ORDER Form, Batch Record No. 1 with Errors
Error Handling
Action
Type data in the form, as shown in Figure 3-18. Press ENTER.
ENTRY does not accept the data and issues the message shown in the window
line, which is used for error as well as status messages. The reason for
the error message is that the date is in DMY order, rather than in MDY
order. Since the field is defined as an MDY type, the month must precede
the day of the month. Note that if the month is misspelled, the same
error message is issued. No message is ever issued when the data type is
CHAR since that type accepts any characters.
To help you correct the field in error, the cursor is positioned to the
beginning of the date field so that you can correct this field with no
extra effort. The field itself is underlined and full bright, rather
than half bright, to distinguish it from the correct fields.
Action
Change the date to SEP 30 1986. Press ENTER.