12. Report-Writer Statements : Report Structure Statements : .Footer Statement--Begin Formatting Statements for the Footer : Examples
Share this page                  
1. Specify printing a page number at the bottom of each page
.footer page
    .print '-,' page_number (f2), '-'
2. Print the sum of column named "wholesale cost" (a delimited identifier), at the end of the report
.footer report
.tab 10
.print 'TOTAL COSTS: ', sum("wholesale cost"),