Page and Report Linesets [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation
HP ALLBASE/BRW Reference Manual
Page and Report Linesets
In addition to specifying break heading and footing linesets for a
report, you can define page linesets and report linesets.
Page Heading Lineset
The page heading lineset specifies that certain data will be printed on
the top of each page.
Example: Printing the page number, date, and a title
This example shows the page number, date, and title being inserted on the
page heading.
The screen shows the items for PAGE, DATE, and TIME in the Item field.
The upper part of the screen does not show the DATE and TIME items
because they are at positions 123 and 126 (off the screen).
Example: Repeating the break heading on each page
Suppose you want to specify a new page before printing the break heading
line set, but you do not want to define lines for that break heading
lineset. Instead, use the page heading lineset to print the break
heading data.
Look at the following example:
The page heading lineset prints data from the detail that is used to
print the next lineset. Column calculation values are printed in the
state of the previous page footing lineset, which allows column
calculations to be carried forward.
Page Footing Lineset
The page footing lineset is printed at the bottom of each page and can
contain the page number and summarised data for the page.
The page footing can be replaced by another lineset. You can specify
that a break footing lineset is printed instead of the page footing
lineset on each page where the break occurs.
Example: Printing a break footing instead of the page footing
At the end of a break, you may want to print only the break footing and
not repeat the page footing. You can position the break footing lineset
so that it always appears at the bottom of the page. by typing the line
number of the first line for the break footing in the Abs field.
In this example, the break footing for the break defined when CUSTOMER-NO
changes is given an absolute position at line 55 of the page.
The page footing lineset prints data and column calculations from the
detail that was used to print the preceding lineset. That is, since no
new item values or column calculations are generated just because of a
page break, any item or calculation reference in a page footing lineset
has the value that was last generated.
Report Heading Lineset
The report heading lineset is printed once at the beginning of the
report. You can use it to print global data for the report (see next
sample screen). Normally, a report heading lineset is preceded by a page
heading lineset.
Example: Suppressing a page heading
You have defined a page heading and a report heading. The report heading
contains some of the same information as the page heading (such as the
name and date of the report). It would be redundant to have both
headings print on the first page of the report.
Here is the Define Lines screen for the Report Heading:
To suppress the page heading lineset on the first page (where the report
heading would print), go to the Define Breaks screen and position the
report heading lineset at an absolute of line 1 of the page.
[REV BEG]
The report heading lineset prints data from the first detail in the
report. All column calculations are zero. That is, at the start of the
report, nothing has yet been calculated, so if the report heading lineset
contains fields for column calculations, the values are zero.
Non-calculated items have a value taken from the first detail line.
Standard items, such as date and time, are always available.[REV END]
Report Footing Lineset
The report footing lineset is printed at the end of the report. You use
it to print summarized data for the whole report.
Example: Defining a report footing
This screen sample shows the Define Lines screen for a two-line report
footing showing the outstanding receivables as of a particular day:
[REV BEG]
The report footing lineset prints data and column calculations from the
last detail in the report. The DATE item appears in the upper portion of
the screen as 0m/0d/yy and the BALANCE-DUE appears as ZZZZZZZZZZ9. The
BALANCE-DUE will be a total of all the BALANCE-DUE values for the
report.[REV END]
MPE/iX 5.0 Documentation