ENFORM User's Guide

Formatting a Report
Developing an ENFORM Query
3–40 058058 Tandem Computers Incorporated
Vertical spacing
ENFORM uses single spacing between report lines.
Margins
ENFORM prints the first column in line column 1. ENFORM determines the
location of the right margin by calculating the total number of characters in each
column plus the two spaces between each column.
Line length
ENFORM uses a maximum line length of 132 characters for a printer; it uses a
maximum line length of 80 characters for a terminal.
Page length
ENFORM prints sixty lines on a page beginning at top-of-form.
Page numbers
ENFORM does not print page numbers.
Titles
ENFORM does not print any titles.
Headings
If a heading is defined for the element in either the data dictionary or the
DECLARE statement, ENFORM prints that heading. If not, ENFORM prints the
name of the element as the heading. If neither applies (the element is a predefined
or user aggregate), ENFORM creates a heading. ENFORM prints the values of
arithmetic expressions without headings.
Data justification
ENFORM prints numeric data as right-justified within the column; it prints
alphanumeric data as left-justified within the column.
Display format
ENFORM determines the display format for fields by the record description entry
in the dictionary. ENFORM displays user variables, user table elements, user
aggregates, and predefined aggregates as 14 character integers. ENFORM
displays the result of arithmetic expressions in 14 character fields, as either integer
or fixed. ENFORM determines the default display format for IF/THEN/ELSE
expressions by the elements in the expressions.
The ENFORM defaults might be satisfactory for some of your reports, but other
reports might require particular arrangements of the report data. The way your report
looks can be affected by the addition of ENFORM statements or ENFORM clauses that:
Add information to a report.
Define the actual layout of the report.
Define the display format of the elements in the report.