Using VPLUS: An Introduction to Forms Design (32209-90004)
7-17
Figure 7-14. The Field Menu for TPRICE
So what is the solution? For this particular set of forms, you can
change the specifications on TPRICE so that STOTNET (and consequently
TOTNET) reflects changes to the order line as long as they are made while
the user is still entering data for the current order. Once the user
presses ENTER to record the totals on ORDER_TOTALS, and then makes
changes to a previously entered order, the user must recalculate the
value of TOTNET manually.
Action
As a first step, go to the Field Menu for TPRICE and enter the
specifications shown in Figure 7-14.
These statements insure that any changes made to an order in Browse mode
are correctly accumulated into STOTNET and correctly transmitted to
TOTNET,
but only
if the user has not pressed ENTER and is still working
in the current order.
NOTE A point to remember is that ENTRY is designed for applications in
general. Intrinsics are provided with VPLUS/V that can be used by
your data processing staff to modify ENTRY so that it is tailored
to your particular application.