Enform Plus Reference Manual

Statements
Enform Plus Reference Manual422684-001
4-44
Subfooting for Current Report or All Reports
variable @VSPACE. In the following example, the SKIP clause of the SUBFOOTING
statement causes the subfooting to print on two lines:
SUBFOOTING "Report 2-A" SKIP "Total Sales";
The following subfooting will appear at the bottom of the next report that is generated
without a LIST statement SUBFOOTING clause.
Report 2-A
Total Sales
By using the FORM clause within a SUBFOOTING statement, you can force a new page.
The remainder of the SUBFOOTING print-list is printed on the new page. The page
number remains the same. A single logical page can span multiple physical pages such
that a TITLE can appear on one page, the data on the next, and a SUBFOOTING on the
next. The same page number applies to all physical pages in a logical page.
By using the CENTER clause within the SUBFOOTING statement, you can center the
subfooting on the page.
The CENTER, Option Variable, SKIP, SPACE, and TAB clauses are described in
Section 5, Clauses
.
Subfooting for Current Report or All Reports
A SUBFOOTING statement prints a subfooting at the bottom of each page for all
subsequent reports in the current session. Specifying a new SUBFOOTING statement
with a new print-list resets the current SUBFOOTING statement. A SUBFOOTING
statement can be temporarily overridden by a SUBFOOTING clause within a LIST
statement. A SUBFOOTING clause prints a subfooting for the current report only.
Canceling Session-Wide Subfooting
You can cancel a SUBFOOTING statement by:
Using a SUBFOOTING statement without the print-list parameter
Using either a DICTIONARY statement or a ?DICTIONARY command (which
clears the SUBFOOTING information from the internal table)