2 Report Description Statements

The PAGE TRAILER Statement

The PAGE TRAILER statement defines the course of action to be taken at the bottom of each page. It is triggered by a page break condition.

PAGE TRAILER [WITH number LINES]

[USING [;list]][block statements]

The parameters for this statement are defined as follows:

number
The number of lines required for the trailer. If not entered, the value of number defaults to 1. If the page trailer requires more than one line, it is important that this parameter be used to ensure correct page alignment. The number is evaluated during execution of the BEGIN REPORT statement. The number of lines for the PAGE HEADER and the PAGE TRAILER are used in conjunction with PAGE LENGTH to determine the effective page size.
line id
A line number or label referencing an IMAGE statement.
image string
A list of image specifiers describing the output format and enclosed in quotes.
list
This may be a list of string, numeric or array variables, literals, constants or expressions to be printed according to the image referenced.
block statements
Statements may follow the PAGE TRAILER statement. They will be evaluated and executed immediately after the PAGE TRAILER statement.
An example of this statement follows.


150  PAGE TRAILER WITH 2 LINES USING P_trail;NUMPAGE
.
.
.
650  P_trail: IMAGE 60X,"PAGE",X,2D
This page trailer only requires one line but an extra blank line will follow because two lines are reserved by the WITH 2 LINES parameter. The NUMPAGE function is described in page 53 .


Eloquence Report Manual - 19 DEC 2002