USE A TABLE CHECK [ USING VPLUS/V AN INTRO. TO FORMS DESIGN Self-Paced Training Guide ] MPE/iX 5.0 Documentation
USING VPLUS/V AN INTRO. TO FORMS DESIGN Self-Paced Training Guide
USE A TABLE CHECK
Action
Use PREV to return to the Field Menu for ST; then use FIELD TOGGLE to go
to the processing specification area. Type IN $STATE, as shown in Figure
4-6. Press ENTER.
The edit statement insures that the state abbreviation entered in the
field is one of the 55 official abbreviations used by the United States
Post Office. Note that this field can be omitted (the field type is
still optional), but if any value is entered, it must be a valid state
abbreviation.
Other checks that might be made on the STATE field are:
IN "CA", "NY", "FL" Only 3 state codes (California, New York, or
Florida) are allowed and they must be all
uppercase.
NIN "GA", "Ga, "ga", "gA" Do not allow any state code for Georgia.
Figure 4-7. Field Menu for ZIP in the ORDER Form
MPE/iX 5.0 Documentation