Use FORM.PAGE to make detailed choices about the content and placement of the page headings and footings in a report. For online and printed reports, QMF places headings at the top of an online report and footings at the bottom. Headings and footings appear at the top and bottom of each page of a printed report.
Area G on the FORM.MAIN panel (see G PAGE on page***) specifies page headings and footings for a report. Whatever you specify in area G of FORM.MAIN is shown on FORM.PAGE. Similarly, the first line of page heading and footing that you specify on FORM.PAGE is shown on FORM.MAIN.
FORM.PAGE A Blank Lines Before Heading ===> 0 B Blank Lines After Heading ===> 2 C LINE D ALIGN E PAGE HEADING TEXT ---- ------ ----+----1----+----2----+----3----+----4----+----5----+ 1 CENTER 2 CENTER 3 CENTER 4 CENTER F Blank Lines Before Footing ===> 2 G Blank Lines After Footing ===> 0 H LINE I ALIGN J PAGE FOOTING TEXT ---- ------ ----+----1----+----2----+----3----+----4----+----5----+ 1 CENTER 2 CENTER 3 CENTER 4 CENTER *** END *** 1=Help 2=Check 3=End 4=Show 5=Chart 6=Query 7=Backward 8=Forward 9= 10=Insert 11=Delete 12=Report OK, FORM.PAGE is displayed. COMMAND ===> SCROLL ===> PAGE
Charts: An entry in this area determines vertical placement of the heading on the chart. However, too many blank lines can change the labels on the Y-axis.
The numbers you choose need not start with 1 or be consecutive. You can choose spacing between the lines of the page heading and between the top of the page and the first line of page heading text. A blank ignores any associated text.
For example, these values on FORM.PAGE:
LINE ALIGN PAGE HEADING TEXT ---- ------ ----+----1----+----2---- 4 LEFT MONTHLY INVENTORY 4 RIGHT PAGE &PAGE 2 CENTER ABC COMPANY
Display as:
ABC COMPANY MONTHLY INVENTORY PAGE 1
Charts: Use LINE to position the lines of heading text vertically relative to themselves and to the line at which the chart (page) heading starts.
The appended line of text must have the same LINE value as the line of text it is being appended to. If the report is not wide enough to accommodate the appended line of text, some of the text might be truncated.
For example, the following entries on FORM.PAGE:
LINE ALIGN PAGE HEADING TEXT ---- ------ ----+----1----+----2---- 1 CENTER ABC COMPANY MANAGERS -- 1 APPEND &DATE, &TIME 3 CENTER 4 CENTER 5 CENTER
Align the columns like this:
ABC COMPANY MANAGERS -- 98/08/04, 14:20 ID NAME DEPT JOB YEARS SALARY COMM ------ --------- ------ ----- ------ ---------- ---------- 10 SANDERS 20 MGR 7 18357.50 - 30 MARENGHI 38 MGR 5 17506.75 -
Charts: ALIGN does not affect a chart heading, except when LINE is used to place more than one line of text on the same line of the heading.
If your installation supports DBCS data, see Names with double-byte characters.
To make the page heading text appear in a report in uppercase and lowercase, specify in your PROFILE a CASE value of either STRING or MIXED:
Page headings can contain the following variable values:
When &DATE, &TIME, or &PAGE are entered in page heading text, the system date, time, or page number do not appear at the bottom of printed reports. This applies only to these three variables entered on FORM.PAGE.
For descriptions of &DATE, &TIME, and &PAGE, see page*** under BREAK1 HEADING TEXT.
Charts: The preceding description regarding PAGE HEADING TEXT applies to charts, except for part of the description of ALIGN. The only time that the value specified for ALIGN affects a chart heading is when LINE is used to place one or more lines of text entered on FORM.PAGE on the same line in the formatted report. If you're not using the LINE function, the chart heading is automatically centered.
If a report contains break summary data and one or more wrapped columns, you might need to increase the value in this entry area to see all the lines of summary data. For more information, see the CW code under Edit Codes for Character Data.
For example, these values on FORM.PAGE:
LINE ALIGN PAGE FOOTING TEXT ---- ------ ----+----1----+----2---- 3 LEFT MONTHLY INVENTORY 3 RIGHT PAGE &PAGE 2 LEFT ABC COMPANY
Display as:
ABC COMPANY MONTHLY INVENTORY PAGE 1
Notice that a blank line appears before the first line of text.
The appended line of text must have the same LINE value as the line of text it is being appended to. If the report is not wide enough to accommodate the appended line of text, some of the text might be truncated.
For example, the following entries on FORM.PAGE:
LINE ALIGN PAGE FOOTING TEXT ---- ------ ----+----1----+----2---- 1 CENTER ABC COMPANY MANAGERS -- 1 APPEND &DATE, &TIME
align columns like this:
ID NAME DEPT JOB YEARS SALARY COMM ------ --------- ------ ----- ------ ---------- ---------- . . . 10 SANDERS 20 MGR 7 18357.50 - 30 MARENGHI 38 MGR 5 17506.75 - ABC COMPANY MANAGERS -- 98/08/04, 16:20
If your installation supports DBCS data, see Names with double-byte characters.
To make the page footing text appear in a report in uppercase and lowercase, specify in your profile a CASE value of either STRING or MIXED:
Page footings can contain the following variable values:
When &DATE, &TIME, or &PAGE are entered in page footing text, they appear (instead of the system date, time, or page number) at the bottom of the printed report. This applies only to these three variables entered on FORM.PAGE.
For descriptions of &DATE, &TIME, and &PAGE, see page*** under BREAK1 HEADING TEXT.