Introduction to ENFORM
Statements, Clauses, and Commands
Using ENFORM—The Basics
2–12 058051 Tandem Computers Incorporated
Figure 2-9. Example of Item Formatting and New Item on a Report
SUPPNUM PARTNUM INVENTORY PRICE TOTAL COST AVG
 1 212 7 92000.00 64000.00 222250.00
 244 3 87000.00 261000.00
 6201 -16 5800.00 -92800.00
 7301 32 2400.00 
 76800.00
 26 889000.00
 6 4102 9 14500.00 130500.00 151000.00
 4103 7 24500.00 
171500.00
 16 302000.00
 10 7102 20 6800.00 136800.00
 32
 136800.00
 62 1327000.00
In this report:
A new data item that is the multiple of the price and inventory items is calculated
and printed with a heading of TOTAL COST for the column of new items.
A subtotal for the TOTAL COST items is calculated and printed whenever the item
suppnum changes.
A total for the TOTAL COST items is calculated and printed at the end of the
report.
The average value of all items in stock from a particular supplier is calculated and
printed for each supplier.










