REVIEW CALCULATED VALUES [ USING VPLUS/V AN INTRO. TO FORMS DESIGN Self-Paced Training Guide ] MPE/iX 5.0 Documentation
USING VPLUS/V AN INTRO. TO FORMS DESIGN Self-Paced Training Guide
REVIEW CALCULATED VALUES
When you press ENTER to record the data on the ORDER form, ENTRY displays
the next form, TOTALS. Before entering any data on TOTALS, let us view
the data calculated by ENTRY for record #1.
Action
To do this, press BROWSE.
The ORDER form is displayed with all the data you entered, plus the date
and the total price supplied by ENTRY, as shown in Figure 5-19.
Note that today's date is now displayed in the date field in the form
mm/dd/yy. The total price for this order is also displayed. Make a note
of this total before returning to Collect mode.
Figure 5-20. Record No. 2
Action
Press COLLECT to display the next form, TOTALS.
Four of the fields on this form have initial values as shown in Figure
5-20. For the order, you can change only the value of the order number,
although any of the other initial values may be changed since they are
not protected.
Action
Leave the order number the same as the one that you entered on the ORDER
form. Enter the total calculated on the ORDER form in the Total Net
Price field. The cursor is then positioned at the Discount % field. On
this order, leave the Discount % as 10 and the tax rate as 6.25 by
pressing TAB twice. The next field you can change is the Shipping cost.
Enter the value 1.25 as the shipping cost and press ENTER.
Figure 5-21. Record No. 2, Browse Mode
You can examine the totals calculated for this record using Browse mode.
Action
Press BROWSE.
As shown in Figure 5-21, not only have the subtotal, the tax, and the
final total been calculated, but all the numeric values are formatted.
Action
Press COLLECT to return to collect mode.
Figure 5-22. Record No. 3, Browse Mode
You can now continue entering orders. On the next order, you specify a
quantity and a unit price sufficient to give a discount.
Action
Copy the example shown in Figure 5-22. Use a quantity of 10 and a unit
price of 125.50 on the ORDER form. Press ENTER.
Figure 5-23. Record No. 4, Browse Mode
Action
Next, enter the total net price as 1255.00 on the TOTALS form, as shown
in Figure 5-23. Press ENTER.
You can assume that with an order this large, no shipping is charged,
therefore you leave the shipping cost at its initial zero value.
Action
Browse the two records you just entered; they should appear as shown in
Figure 5-22 and Figure 5-23.
Figure 5-24. Record No. 4, Browse Mode
MPE/iX 5.0 Documentation