.Footer Statement—Begin Formatting Statements for the Footer
The .footer statement identifies the start of a block of formatting statements that are executed at the end of a break.
This statement has the following format:
.footer | .footing | .foot
report | page | columnname
The parameters for the .footer statement are as follows:
The following table shows the results obtained by specifying each of the options in the .footer statement:
report
Prints the footer at the end of the report.
page
Prints the footer at the bottom of each page.
columnname
Specifies a break column name in the list of the .sort or .break statement. Specify the column name as a delimited identifier by enclosing it in double quotes ("), if you have previously specified the .delimid statement.
Prints the footer at the end of a group of data rows with identical values for that break column. The columnname can be expressed as a variable.
$columnvariable
Variable whose value is the name of a column. Precede the variable with a dollar sign ($).