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

4-8
Figure 4-4. The Field Menu for ORDATE in the ORDER Form
Use Single Value Comparisons
Now that you understand how to use the FIELD TOGGLE, lets add some
processing specifications to the field. The first type of field edit you
will use is a single value comparison.
Action
Press FIELD TOGGLE. Type the field edit statement EQ $TODAY in the lower
menu, as shown in Figure 4-4. Press ENTER.
The statement EQ $TODAY is one possible comparison. It means that the
data entered in the field must be today's date. Other single value
comparisons you could enter in a date field include:
GE !1/1/86! Entered date must be in 1986 or a subsequent
year.
LT $TODAY Entered date must be earlier than today's
date.