GRAND.TOTAL, GRAND-TOTAL, CAPTION |
![]() ![]() ![]() |
The GRAND.TOTAL keyword (synonyms GRAND-TOTAL and CAPTION) specifies text to appear at the left edge of the grand total line when any field accumulations (AVERAGE, ENUMERATE, MAX, MIN, PERCENTAGE or TOTAL) are used.
Format
GRAND.TOTAL "text"
where
The GRAND.TOTAL text may include control options enclosed in single quotes. These are:
The text normally appears on the same line as the row of equals signs (=) that are shown above the total values. The PICK.GRAND.TOTAL keyword of the OPTION command can be used to move this text down to the line that holds the values.
Example
The command
LIST SALES TOTAL ORDER.VALUE GRAND.TOTAL "TOTAL"
might produce the report below.
LIST SALES TOTAL ORDER.VALUE GRAND.TOTAL "TOTAL" Page 1 SALES..... ORDER VALUE 19845 234.53 19858 845.50 19859 384.43 19887 279.40 19830 324.39 19886 397.23 19866 465.31 TOTAL =========== 2930.79
7 records listed.
See also: |