Using VPLUS: An Introduction to Forms Design (32209-90004)
7-36
Figure 7-28. Browse Mode, Record No. 13
Action
Press ENTER to have ENTRY calculate and record the remaining totals as
Record #13 of the batch file. Then press BROWSE and the record appears
as shown in Figure 7-28.
Modify Accumulated Values
Usually, modification of existing records is a simple matter--you locate
the record you want to change, make the change, and then press ENTER to
record it. If the corrected value affects a value in another record, you
locate that record and press ENTER to record the new value (as described
in Section 6). When totals are accumulated, making changes is more
involved, particularly if the summed values are entered on a repeating
form.
As the forms in ORDFORM1 are designed, you can change a value in the
repeating order line that affects the line totals and have this value
correctly summed into the net total field only if you make the change
before
you press ENTER to record the totals. If you wait until the
totals have been entered in the last record of an order, the net total
will probably be incorrect. If you must change either the quantity or
unit price on an order line
after
the order totals are recorded, you
would then have to correct the net total value yourself. However, the
net total field on the totals form does not allow user entry. Thus, the
solution is to delete all the records in an order and then enter the
order correctly, as described later in this section.