FOOTING, FOOTER |
![]() ![]() ![]() |
The FOOTING keyword defines a page footing for the report.
Format
FOOTING "text"
where
A page footing defined with the FOOTING keyword will appear at the bottom of each page of the report. The footing text may contain control codes enclosed in single quotes to insert variable data or to alter the appearance of the footing. These control codes are:
When a footing line uses both G and C, the footing is considered as a number of elements separated by the G control options. The element that contains the C option will be centered. The items either side of the centered element are processed separately when calculating the number of spaces to be substituted for each G option.
A single quote may be inserted in the footing by use of two adjacent single quotes in the text.
If more than one FOOTING definition is given in a single query, the first one is used. This allows a query sentence to include a footing that will override an alternative footing in the default listing phrase.
Example
The command
LIST SALES FOOTER "'C'SALES REPORT'LDG'Confidential" HDR.SUP
might produce a report such as that below.
SALES..... REGION SALESMAN ORDER VALUE 19845 North Harris 234.53 19858 North Sharp 845.50 19859 North Sharp 384.43 19887 North Roberts 279.40 19830 South Smith 324.39 19886 South Abbott 397.23 19866 South Abbott 465.31
7 records listed.
SALES REPORT 26 Jun 2000 Confidential
|