12. Report-Writer Statements : Report Structure Statements : .Header Statement--Begin Formatting Statements for the Header : Examples
Share this page                  
1. Specify a page header.
.header page
        .tab 10
        .print 'Accounts Receivable Aging
           Report by Client'
2. Specify a report header that prints the current date, the current time and the name of the report at the start of the report.
.header report
        .leftmargin 10
        .rightmargin 70
        .print current_date
        .print current_time
        .newline 2
        .print 'Annual Costs'
3. Specify a break header for the column "last name."
    select "last name", "first name"
        from names_tbl
.sort "last name"
.header "last name"