Language:


Creating a Report Generator Report - Page Breaks

This page describes adding page breaks to the output of a Report Generator report.

---

You can specify that each section of a report is to be printed on a separate page. For example, you might want to print each Customer and its Invoices on a separate page. Follow these steps:

  1. Return to the Report Definition record and go to the 'Layout' card.

  2. Double-click on the section that is to control the page breaking. This must be a section that is printed the appropriate number of times. For example, if a report is a list of Customers and you would like each Customer to be printed on its own page, you must double-click on a section that is printed once for each Customer. This means either the Contact Before section or the Contact After section. The 'Section' dialogue box opens:

    In the example, we double-clicked on the Contact After section. This is the second of the two sections that are printed for each Contact record, so we need the page break to occur after this section is printed. Choose the After Section option in the lower left-hand corner of the window, and click [OK].
From now on, whenever the report is printed on paper, a page break will occur after each Customer is printed. When the report is printed to screen, the page break will have no effect.

When the report is printed on paper, there will be a page break after the last Customer so that anything in the Report Footer section (e.g. overall report totals) will be printed on its own page.

Placing the page break in the Contact Before section (choosing the Before Section option in the 'Section' dialogue box) would produce a similar report. The main difference would be that any overall Report Header and anything in the Contact Header section will be printed on its own page. There would then be a page break followed by the first Customer. There would not be a page break after the last Customer, so anything in the Report Footer section would be printed on the same page as the last Customer. The choice of where to place the page break in this example would therefore depend on what is in the overall Report Header and Report Footer sections and which one of these two sections is to be printed on its own page. (You can of course add more page breaks to ensure these two sections are each printed on their own page.)

In both cases, you might want to move the column headings from the Contact Header section to a separate Line in the Contact Before section, so that they are printed on each new page as well. This will make it easy to identify each piece of Customer information.

This completes the definition of the example Customer List report that has been built up throughout these web pages. In the following sections, we will illustrate some more features of the Report Generator using simple individual Report Definitions. Please follow the links below for more details about:

---

Go back to: