Using VPLUS: An Introduction to Forms Design (32209-90004)
3-9
Figure 3-7. The Field Menu for the Order Number Field
Specify Field Type and Initial Value
Action
Since you want to make sure the user always enters an order number,
change the field type from O for optional to R for required on the Field
Menu for ORDNUM.
This makes it impossible for the user to leave the order number blank
when ENTRY displays the ORDER form.
Action
Let's say that the order number must always be a number with a value of
at least 100000. Enter this value as an initial value on the Field Menu
for ORDNUM.
This initial value appears in the field when the form is first displayed
by ENTRY. The user can then change the initial value or leave it as is.
(Later, Section 4 shows how to have this initial value incremented
automatically to insure that each order has an ascending and unique or-
der number.)
Action
When these changes are made to the Field Menu for ORDNUM, the menu
appears as shown in Figure 3-7. Press ENTER.