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

Data management library
Table of Contents

Advertisement

FOOTING Clause

Specifying a Field Name
within a FOOTING Clause

Spacing Considerations

The FOOTING clause allows you to specify information for printing at the bottom of
each page for the current report. This clause is an optional part of the LIST statement.
The syntax of the FOOTING clause is:
FOOTING
print-list [ CENTER ]
print-list
can be any combination of literals, FORM, SKIP, SPACE, or TAB clauses. A
print-list can 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 variable names, or parameter names.
The clauses that can be used in a print-list are described in this section. The other
elements are described in Section 3.
If you specify a field name within a print-list of a FOOTING clause, ENFORM prints
the same field value as in the last row of data on the current report page. A field name
appearing within the FOOTING clause need not be explicitly included within the LIST
statement. If the field name is not included, ENFORM effectively adds it to the LIST
statement with a NOPRINT clause.
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:
FOOTING "Inventory" SPACE 15 "Parts in Stock",
The following footing is printed on the next report:
Inventory
If you specify either a SKIP clause or the slash symbol (/) 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 causes two lines to be
printed:
FOOTING "Report 2-A" SKIP "Total Sales",
The following footing prints on the next report:
Report 2-A
Total Sales
058057 Tandem Computers Incorporated
Parts in Stock
Clauses
FOOTING Clause
5–37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents