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

6-6
The SORDNUM save field was given the initial value 100001. This is the
first sequential order number. Because the save field contains an
initial value, the initial value previously specified for the ORDNUM
field is not needed. Instead, you use the SET TO statement to transfer
the value in the SORDNUM save field to the ORDNUM field.
Action
To modify the ORDNUM field, request the Main Menu and enter the
specification shown in Figure Figure 6-4. When you press ENTER, the
Field Menu for ORDNUM is displayed.
Figure 6-5. The Field Menu for ORDNUM in the ORDER Form
Action
On this menu, first change the field type (FType) to D for display-only
and the data type (DType) to DIG as shown in Figure 6-5.
The DIG data type allows calculations to be performed on this field.
(This is done for consistency--the order number calculations are
performed on the SORDNUM save field rather than on the ORDNUM field in
either the ORDER form or the TOTALS form.
Action
Delete the initial value since it is no longer needed. Now, press FIELD
TOGGLE to go to the Processing Specifications area of the menu and enter