Footing Statement; Specifying A Field Name Within A Footing Statement; Spacing Considerations - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

FOOTING Statement

The FOOTING statement allows you to specify a footing to be printed at the bottom of
each report page for all reports in the current session unless overridden or reset by
another FOOTING statement or temporarily overridden by a FOOTING clause. (See
Section 5 for the FOOTING clause.) The syntax of the FOOTING statement is:
FOOTING [ print-list [ CENTER ] ] [ ; ]
print-list
Specifying A Field Name
If you specify a field name within the print-list of a FOOTING statement, ENFORM
within a FOOTING
prints the same field value as in the last row of data on the current page. A field name
Statement
appearing within the FOOTING statement need not be explicitly included within the
following LIST statements. If the field name is not included, ENFORM effectively
adds it to the LIST statement with a NOPRINT clause.

Spacing Considerations

By default, the footing begins printing in the same column position as the leftmost
report column. Using SPACE or TAB clauses as the first element of the print-list
overrides this default. SPACE or TAB clauses can also appear anywhere within the
print-list. In the following example, the SPACE clause causes the two literals to be
separated by 15 spaces:
The following footing appears at the bottom of the next report that is generated
without a LIST statement FOOTING clause.
If you specify either a SKIP clause or the symbol slash (/) within a print-list, ENFORM
advances one or more lines before printing the rest of the FOOTING print-list. The
number of lines advanced can be affected by one or more of the following: the digit (if
any) following the keyword SKIP, the number of slashes specified, or the option
variable @VSPACE. In the following example, the SKIP clause in the FOOTING
statement causes two lines to be printed:
The following footing appears at the bottom of the next report that is generated
without a LIST statement FOOTING clause.
058057 Tandem Computers Incorporated
can be any combination of literals, FORM, SKIP, SPACE or TAB clauses. Print-list
can also contain the following elements that can be modified by AS, AS DATE, or
AS TIME clauses: field names, arithmetic expressions, IF/THEN/ELSE
expressions, System Variable clauses, JULIAN-DATE clauses, TIMESTAMP-DATE
clauses, TIMESTAMP-TIME clauses, user variables, or parameter names.
The clauses that can be part of a print-list are discussed in Section 5. The other
elements are discussed in Section 3.
FOOTING "Inventory" SPACE 15 "Parts in Stock";
Inventory
FOOTING "Report 2-A" SKIP "Total Sales";
Report 2-A
Total Sales
Parts in Stock
Statements
FOOTING Statement
4–23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents