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

6-4
Figure 6-3. Save Field for SORDNUM
This selection causes a blank Save Field Menu to be displayed (not
shown).
Action
Enter the name (SORDNUM), length (6), and data type (DIG) , and initial
value of 100001 to define the save field, as shown in Figure 6-3. Press
ENTER.
You should always specify an initial value for fields of type DIG,
NUM[n], or IMPn. Character fields default to spaces. You have now
defined a save field for calculating and transferring order numbers; it
is called SORDNUM and has an initial value of 100001 for the first order
number. When you press ENTER to record the first save field, a new blank
Save Field Menu is displayed.
Action
Using the same method, define the next two save fields, SNAME and
STOTNET. Refer to Table 6-1 for a list of the characteristics for the
three save fields.