Report STATEMENT

PURPOSE:  The REPORT statement is used when multiple reports are being generated from a single PM.  It designates subsections that define the titles, headings, and footings for each report.

SYNTAX

REPORT n

n

is a number between 1 and 10 that identifies a report to which the following statements apply.  n is the number assigned in the RELATE statement for this report

Example

CONTROL SECTION
RELATE SF PRICE_LIST AS REPORT 1
RELATE SF AUTHORS AS REPORT
HEADINGS SECTION
REPORT 1
SKIP 3
CENTER "PRICE LIST AS OF "+@FDATE AT 29
SKIP 2
PRINT 9B,"TITLE CODE", 7B, "TITLE TEXT",5B,"PRICE"
PRINT 9B,10"_",7B,10"_",5B,5"_"
SKIP 1
REPORT 2
SKIP 3
PRINT "REPORT ON NEW AUTHORS"
PRINT @ETIME,2B,@CDATE
SKIP 1
PRINT "AUTHOR_CODE", 3B,"PHONE", 5B,"ADDRESS", 3B, &
"CITY", 3B, "STATE

NOTES:  The REPORT statement is used only in the TITLES, HEADINGS, and FOOTINGS sections.