Using VPLUS: An Introduction to Forms Design (32209-90004)
6-18
Action
Type in the name and the remaining values for the order, as shown in
Figure 6-13, then press ENTER.
Figure 6-14. TOTALS Form, Record No. 2
When you press ENTER to record the typed values, the system calculates
the total price. It then displays the next form, TOTALS, as shown in
Figure 6-14.
The order number is the same as the number displayed on the previous
form, ORDER, since this form contains the totals for the ORDER form. The
order number is displayed since it was transferred from the save field
during the initialization phase (INIT). The date too is displayed be-
cause
it was calculated in the initialization phase.
Of the two remaining values transferred from the ORDER form, only the
total net price is shown when the form is displayed. This is because it,
like the order number, is moved from the save field in the initialization
phase. The customer name, on the other hand, is set in the field edit
phase and is not moved until the user presses ENTER.
The first field in which you can enter data is the Discount % field. You
may change the discount percent from 10 to some other value, and you may
change the tax rate and the shipping cost. These are the only three
values that may be entered on this form; the other values are all
display-only. If you do not want to change these three values, simply