TITLE

From CometWiki

(Difference between revisions)
Jump to: navigation, search
Badge (Talk | contribs)
(New page: TITLE Syntax: TITLE report-title Placement: Place the TITLE of the report before the REPORT command. Discussion: The TITLE command specifies a printed title for the report. Titles...)
Newer edit →

Revision as of 13:13, 5 June 2009

TITLE Syntax: TITLE report-title Placement: Place the TITLE of the report before the REPORT command. Discussion: The TITLE command specifies a printed title for the report. Titles are centered on the report, exactly as you type them (caps or upper and lower case), and appear at the top of each page. You can enter a maximum of 10 titles lines of up to 132 characters each.

To print a title on multiple lines, type the TITLE command at the beginning of each line. To add a blank line within the title, type the TITLE command alone where you want to locate the blank line.

Line continuation

You may continue a TITLE by ending a line with either an "_" or ";" character. Continue the title in the first position of the next line. If you indent the continuation lines, there will be blank spaces in your title.

Example: 100 INPUT CUSTOMER

 200   TITLE PAST DUE ACCOUNTS
 210   TITLE
 220   TITLE CALIFORNIA CUSTOMERS
 300   DEFINE PAST.DUE = AR.OVER.60 + AR.OVER.90;8.2
 400   SELECTING IF PAST.DUE GT 0 AND STATE EQ "CA"
 500   SORT ON STATE;CUST.NAME
 600   REPORT
 700   USING CUST.TO.HIST
 800   PRINT CUST.NAME;CUST.NUMBER;STATE;PREVIOUS.YTD;PAST.DUE
 900   BREAK ON STATE
 1000  TOTAL PAST.DUE;PREVIOUS.YTD
 1100  END
Personal tools