The Report Writer AT statements display header and summary lines
at the top and bottom of the report, and at the top and bottom of
pages and control groups (groups of sorted records with the same
value in one or more fields).
The AT TOP statement summarizes information for the entire group
of records in the current collection, not the records of the
page, group, or report that you specify in the statement.
The AT BOTTOM statement calculates the summary information based
on the records of the page, group, or report that you specify in
the statement.
With the two forms of the AT statement, you can specify the
value, position, and format of the print objects in the header
and summary lines:
The AT statements accept the same types of print objects as a
PRINT statement.
Format
{ REPORT }
AT BOTTOM OF { PAGE } PRINT summary-element [, ...]
{ field-name }
{ }
{ REPORT } { header-element }
AT TOP OF { PAGE } PRINT { } [, ...]
{ field-name } { summary-element }
{ }
Additional Information:
explode
extract