TITLE
From CometWiki
(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...) |
|||
Line 1: | Line 1: | ||
- | TITLE | + | |
- | Syntax: TITLE report-title | + | == TITLE == |
- | Placement: Place the TITLE of the report before the REPORT command. | + | |
- | Discussion: The TITLE command specifies a printed title for the report. | + | '''Syntax:''' <br> TITLE report-title <br> |
+ | '''Placement:''' <br> Place the TITLE of the report before the REPORT command. <br> | ||
+ | '''Discussion:''' <br> The TITLE command specifies a printed title for the report. <br> | ||
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. | 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. | + | To print a title on multiple lines, type the TITLE command at the beginning of each line.<br> To add a blank line within the title, type the TITLE command alone where you want to locate the blank line. |
- | Line continuation | + | '''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. | + | You may continue a TITLE by ending a line with either an "_" or ";" character. <br> Continue the title in the first position of the next line. <br> If you indent the continuation lines, there will be blank spaces in your title. |
- | Example: | + | '''Example:''' |
+ | 100 INPUT CUSTOMER | ||
200 TITLE PAST DUE ACCOUNTS | 200 TITLE PAST DUE ACCOUNTS | ||
210 TITLE | 210 TITLE |
Latest revision as of 11:12, 6 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