Getting Started with TRANSACT (32247-90007)
68 Chapter3
Using VPLUS and IMAGE
Reporting Data from a Dataset
Figure 3-14. Dictionary Deļ¬nitions for Customer Forms to be Appended
Figure 3-15. VPLUS Form for Customer Header
Figure 3-16. VPLUS Form to be Appended
We want to FREEZE the report heading on the screen and APPEND each of the customer
records. When the screen is full, which in this example is after displaying 5 customer
records, we want to pause until the person requesting this report is ready to go on.
The following program illustrates these points.
>show file
FILE vcustomerrh
FILE TYPE: RESPONSIBILITY:
VCUSTOMERRH FORM
> show file
FILE vcustomerrd
FILE TYPE: RESPONSIBILITY:
VCUSTOMERRD FORM
ELEMENT(ALIAS): PROPERTIES: ELEMENT(PRIMARY):
CUST-NO 9 (4,0,4) CUST-NO
NAME X (20,0,20) NAME
STREET-ADDR X (20,0,20) STREET-ADDR
CITY-STATE X (20,0,20) CITY-STATE
ZIPCODE X (6,0,6) ZIPCODE
customer address
[ ] [ ]
[ ]
[ ]
[ ]