Using VPLUS: An Introduction to Forms Design (32209-90004)
4-18
Table 4-7. Summary of Custom Error Messages
---------------------------------------------------------------------------------------------
--
|| | |
| Field Name | Edit Statement | Custom Message |
|| | |
---------------------------------------------------------------------------------------------
--
|| | |
| ORDATE | EQ $TODAY | Enter today's date in Month Day Year order. |
|| | |
| ST | IN $STATE | Enter the correct 2-character state code. |
|| | |
| ZIP | MATCH ddddd[-dddd] | Enter ZIP code, must be either 5 digits or 9 |
| | | digits and a hyphen. |
|| | |
| PHONE | MATCH [(ddd)]b*ddd-dddd | Enter phone number; any area code must be in |
| | | parentheses; e.g., (408) 739-8809. |
|| | |
| QTY | GE 1 | Enter quantity equal to or greater than 1. |
|| | |
| PARTNUM | MATCH Puddd-??? | First letter must be P, then letter A-Z, 3 |
| | | digits, hyphen, 3 characters. |
|| | |
---------------------------------------------------------------------------------------------
Figure 4-11. The Main Menu, Selecting Compile
Once you have entered all the custom error messages, you are ready to
compile the forms file.
Action
Press MAIN/RESUME to display the Main Menu. Type an X in the selection
box to compile the forms file, as shown in Figure 4-11. Press ENTER.