HP 3000 Manuals

Using Save Fields and Frozen/Repeating Forms [ 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

Chapter 7  Using Save Fields and Frozen/Repeating Forms 

The two forms defined so far in the forms file ORDFORM1 allow only a one
line item per order.  In order to allow a number of items to be entered
on a single order, you separate the first form (ORDER) into two forms:
the first, containing header information, is frozen on the screen; the
second, containing one line of order information, is repeated and
appended to the frozen form.  This allows a variable number of parts to
be entered on a single order.

This section also shows how to accumulate the totals for an order into a
save field and then transfer the final total to the TOTALS form.  This
section illustrates the following features:

Using FORMSPEC:                             Using ENTRY:

* Copy and Delete forms (Main Menu)         * Display frozen and repeating, appending
                                            form.
* Freeze form, append next form (Form       * Use NEXT FORM to stop repeat.
Menu).
* Change form layout of copied form.        * Automatic termination of repeat.
* Repeat, append current form (Form Menu).  * Modify accumulated values.
* Specify head form (Globals Menu).         * Use DELEE REC to delete record.
* Change window line (Globals Menu).
* Accumulate totals (Field Menu).
* Change accumulated values.
* Change form sequence programmatically.

[]
Figure 7-1. The Form Layout for the ORDER Form


MPE/iX 5.0 Documentation