COPY 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
COPY FORMS
Assuming you have run FORMSPEC and opened a forms file, the steps to copy
a form are:
1. On the Main Menu, specify a C in the selection box, the name of
the form to be copied, and a name for the new form. Optionally,
you may need to specify the name of the forms file containing the
form to be copied.
2. Press ENTER.
In this exercise, the form is being copied from the current forms file,
so the forms file name does not need to be specified.
Action
Run FORMSPEC and open the ORDFORM1 forms file. Using the steps outlined
above, copy the ORDER form to create the ORDER_HEAD form. Figure 7-2
shows the values to be entered on the Main Menu. Verify that a new form
identical to the ORDER form is added to the forms file, ORDFORM1, by
pressing NEXT FORM until the Form Menu for ORDER_HEAD is displayed.
Before modifying ORDER_HEAD, make another copy of the ORDER form, which
will be used to create the ORDER_LINE form. The process is identical
except that the new form name is ORDER_LINE.
Action
Using the steps outlined above, make another copy of the ORDER form.
Specify the new form name as ORDER_LINE.
Now, the forms file has four forms:
ORDER ORDER_HEAD ORDER_LINE TOTALS
Figure 7-3. The Main Menu, Delete Option
MPE/iX 5.0 Documentation