Language:

HansaManuals

Creating a Report Using the Report Generator
Creating a Report Generator Report - Specifying the Primary Register
Creating a Report Generator Report - The Appearance of the Report
Creating a Report Generator Report - Choosing a Print Destination
Creating a Report Generator Report - The Width of the Report Window
Creating a Report Generator Report - Printing the Report
Creating a Report Generator Report - Adding White Space
Creating a Report Generator Report - Adding Searches
Creating a Report Generator Report - Adding a Secondary Register
Creating a Report Generator Report - Using Variables and Formulae
   - Declaring a Variable
   - Assigning a Value to a Variable
   - Printing a Variable
   - More Examples
   - An Alternative Way to Count Records
   - Joining Two or More Pieces of Information Together
   - Joining Strings and Non-Strings
   - Testing
Creating a Report Generator Report - Printing Information from Matrices
Creating a Report Generator Report - Bringing Information in from Other Registers
Creating a Report Generator Report - Page Breaks
Creating a Report Generator Report - Filtering Records (Print If)
Creating a Report Generator Report - Adding Check Boxes to the Specification Window
Creating a Report Generator Report - Adding Radio Buttons to the Specification Window
Creating a Report Generator Report - Searching for Records within a Period
Creating a Report Generator Report - Break Points, Subtotals and Totals
Creating a Report Generator Report - Blocks
Creating a Report Generator Report - Syntax
Creating a Report Generator Report - Useful Functions
Example Reports - Listing Sales Figures
Creating a Report Generator Report - Common Error Messages

Tutorials for Standard Accounts

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: