PRINT FORMS (COLLECT MODE) [ 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
PRINT FORMS (COLLECT MODE)
To print a blank form, you must be in Collect Mode.
Action
With the current form displayed (shown earlier in Figure 8-7) and before
you type any data into it, press PRINT.
The form is printed on the line printer exactly as it was displayed on
the screen, except that no enhancements show, as shown in Figure 8-8. A
line printer has no way to indicate terminal enhancements such as
blinking or half-bright. Also, the window line is not printed, nor are
any values that are typed into fields but not entered. Initial values
displayed with the form are, however, printed when the form is printed.
NOTE Each time you press PRINT, the current form (or record in Batch
mode) is saved, but it is not actually printed on the line printer
until you exit from ENTRY by pressing EXIT.
When you press PRINT, this form is sent to the line printer. The form
itself remains on the screen so you can enter data into it.
Figure 8-9. Example with Data
Now, if you type data into the form and press ENTER, the next form is
displayed. In this case, it is a repeating form appended to the existing
form.
This particular form is peculiar in that it has no headings, and no field
delimiters that are printable characters. The fields in which you enter
quantity, part number, description, unit price, and total price are each
delimited by non-printing characters. When the form is displayed on the
screen, you can see the field boundaries because the fields are
enhanced--that is, they are half-bright inverse video. But these
enhancements are not printable. Therefore, when you press PRINT to print
this form, a blank line printer page is issued.
Because of the nature of this form, do not attempt to print it.
Action
Simply enter data (except for the totals) into the repeating form until
the three-line order is completed, as shown in Figure 8-9. Press ENTER
for each line of the order.
Notice that ENTRY calculates the totals when ENTER is pressed.
Action
After the order is complete, press NEXT to display the last form, which
is shown in Figure 8-10.
Figure 8-10. The Totals for Order Number 4
When this last form in the order is displayed on the screen, it contains
not only the initial values for the order number and the date, but also
the totals accumulated from the preceding repeating form. When you press
PRINT in Collect mode the form is listed with these initial values, as
shown in Figure 8-11.
Figure 8-11. Example Listing of the TOTALS Form
MPE/iX 5.0 Documentation