Enform Plus Reference Manual
Clauses
Enform Plus Reference Manual—422684-001
5-2
Calculating Running Total, Total, Subtotal, and Percentage
Clause Function
CUM Prints a running total for a numeric target-item. The CUM
OVER clause prints the running group total for a numeric
target-item.
PCT Prints the value of the percentage of the grand total for a numeric
target-item. The PCT OVER clause prints the percentage that
each grouped value represents of the total of all values in the
group.
SUBTOTAL Prints the value of the target-item subtotals for each group.
TOTAL Prints the value of the grand total for a target-item.
Extracting Current Values for Date, Time, Line Number, and Page
Clause Function
System Variable Return the current value for the current date, time, line number,
and page number.
TIMESTAMP-DATE Extracts the date portion of a timestamp field that was created by
the Guardian procedure TIMESTAMP.
TIMESTAMP-TIME Extracts the time portion of a timestamp field that was created by
the Guardian procedure TIMESTAMP.
Printing User-Supplied Information on a Report
Clause Function
AFTER CHANGE Prints information for the current report preceding the records for
each grouped field value.
AT END PRINT Prints information at the end of the current report. See also the AT
END Statement on page 4-3.
AT START PRINT Prints information just before the first set of column headings for
the current report. See also the AT START Statement on page 4-5.
BEFORE CHANGE Prints information for the current report following the records for
each grouped field value.
FOOTING Prints a footing at the bottom of each page for the current report.
See also the FOOTING Statement on page 4-23.
SUBFOOTING Prints a subfooting at the bottom of each page immediately
preceding the footing for the current report. See also the
SUBFOOTING Statement on page 4-43.
SUBTITLE Prints a subtitle at the top of each page immediately following the
title for the current report. See also the SUBTITLE Statement on
page 4-45.
TITLE Prints a title at the top of each page for the current report. See also
the TITLE Statement on page 4-47.
Table 5-1. Enform Plus Clauses and Their Functions (page 2 of 3)