Using VPLUS: An Introduction to Forms Design (32209-90004)
4-20
Figure 4-13. The ORDER Form, Displaying Errors
TEST THE FIELD EDITS
In order to test the field edits added to the ORDER form, enter incorrect
data in each of the edited fields.
Action
Type in the data shown in Figure 4-13 and press ENTER.
All six of the fully edited fields are in error. Accordingly, ENTRY
highlights and underlines
all
six fields and displays the custom error
message for the first field in the window line. If each error is
corrected singly, the message associated with each edit is displayed.
Try it.
Action
Correct the first error and press ENTER to display the custom error
message for the next field with incorrect data. Continue until all data
is correct and all six messages have been displayed.
The messages displayed should correspond exactly to the custom messages
you specified for these fields with FORMSPEC. (Refer back to Table 4-7
for a list of these messages.) Once all the errors are corrected, the
data is written to Record #1 of the new batch file, NEWDATA, and ENTRY
displays the form with initial values only.