Understanding Page Bands in Report Designer

Understanding Page Bands in Report Designer

The articles in this section of the Knowledge Base involve working with Page Bands for display in your reports. To access the Report Designer, select Toolbox Setup > Design Reports > Design (Report Type) Report. Select New Report to design a report from scratch or New Report from Existing. Select Designer to open Report Designer.

From this screen, add a Page Band component to your report, or edit an existing data band component.


Fig. 01 – Page Bands

Page bands are a vital component for report creation. Generally, they are used to output things like company address, contact information, copyright notices, page numbering, etc.. Report Designer has three types of page bands: Empty Data, Page Footer, and Page Header.

Page Header Band

A Page Header band is output at the top of every page of the report. There is no limit to the amount of Page Header bands that can be placed on a page.

The number of Page Header bands that can be placed on a page is effectively only limited by the available space.

Example

In a new report, add a Page Header band, a Data band, and a Header band. Use the Page Header band to display the current page number and number of pages in the report. Use the Data band to display data in the report. Use the Header band to display column headers. Add a text component to the Page Header band and add the following expression in the Text Property Editor:

{PageNofM}

To the Header Band, add four text components to act as column headers. For this example, I’ve added the following headers:

  1. Company
  2. Address
  3. Phone
  4. Contact

To the Data Band, add four text components and apply a data field that corresponds to the headers you chose above.

You should have something that looks like this:


Fig. 02 – Example with Three Bands and Page Number Expression in Designer

At this point, run the report. Notice the page number is printed at the top of each page and that data fields have populated down the pages.


Fig. 03 – Printed Report Example

A Page Footer band is output at the bottom of every page of the report. The Page Footer is useful for company information, dates, and page numbers. There is no limit to the amount of Page Footer bands that can be placed on a page.

The number of Page Footer bands that can be placed on a page is effectively only limited by the available space.

Example

In a new report, add a Page Footer band, a Data band, and a Header band. Use the Page Footer band to display the current page number and number of pages in the report. Use the Data band to display data in the report. Use the Header band to display column headers. Add a text component to the Page Footer band and add the following expression in the Text Property Editor:

{PageNofM}

To the Header Band, add four text components to act as column headers. For this example, I’ve added the following headers:

  1. Company
  2. Address
  3. Phone
  4. Contact

To the Data Band, add four text components and apply a data field that corresponds to the headers you chose above.

You should have something that looks like this:


Fig. 04 - Example with Three Bands and Page Number Expression in Designer

At this point, run the report. Notice the page number is printed at the bottom of each page and that data fields have populated down the pages.


Fig. 05 – Printed Report Example

PrintOnEvenOddPages Property


Fig. 06 – Print on Even Odd Pages Property

The PrintOnEvenOddPages property is used to print headers and footers on even/odd pages, for Page Header bands and Page Footer bands.


Fig. 07 – PrintOnEvenOddPages Set to EvenPage

Figure 06 shows a report with the PrintOnEvenOddPages property of the Page Header band set to EvenPage.


Fig. 08 – PrintOnEvenOddPages Set to OddPage.

Figure 07 shows a report with the PrintOnEvenOddPages property of the Page Header band set to OddPage.

There are three values available for the PrintOnEvenOddPages Property:

  1. PrintOnOddPage – Bands are printed on odd pages. 
  2. PrintOnEvenPages – Bands are printed on even pages. 
  3. Ignore – Bands are printed on all pages. 
    • Related Articles

    • Understanding Report Bands in Report Designer

      The articles in this section of the Knowledge Base involve working with Report Bands for display in your reports. To access the Report Designer, select Toolbox Setup > Design Reports > Design (Report Type) Report. Select New Report to design a report ...
    • Report Band Properties in Report Designer

      The articles in this section of the Knowledge Base involve working with Report Bands for display in your reports. To learn more about Report Bands, and how to access this section within the Report Designer, see Understanding Report Bands in Report ...
    • Using Render Events on Group Header Bands in Report Designer

      The articles in this section of the Knowledge Base involve working with Groups for display in reports. To learn more about Groups and how to access the Report Designer, see Understanding Groups in the Report Designer. This article details Events in ...
    • Understanding Groups in the Report Designer

      The articles in this section of the Knowledge Base involve working with Groups for display in your reports. To access the Report Designer, select Toolbox Setup > Design Reports > Design (Report Type) Report. Select New Report to design a report from ...
    • Nesting Groups in Report Designer

      The articles in this section of the Knowledge Base involve working with Groups for display in reports. To learn more about Groups and how to access the Report Designer, see Understanding Groups in the Report Designer. This article explains the ...
    • Recent Articles

    • Toolbox Release Notes | Build 25.1.1204.641

      The following release notes apply to Toolbox build 25.1.1204.641 Toolbox Login Screen Update Fig. 1: The updated Toolbox Login interface. The Toolbox Login interface has had several changes applied to it to enhance its usability and allow for greater ...
    • Toolbox Release Notes | Build 25.1.1120.641

      The following release notes apply to Toolbox build 25.1.1120.641 Mouse Wheel Fix There was a reported issue in certain interfaces (such as report groups) in which hovering over a dropdown menu (such as Output Type) would result in the options within ...
    • Dynamic Dimensioning in Toolbox BSB

      When applying dimensions to products and other solids in Toolbox BSB, by default, all dimensions are drawn in 2D on the Y plane, requiring one to switch to a top view (or an appropriately high isometric view) to see them. BricsCAD has a feature that ...
    • Toolbox Release Notes | Build 25.1.1107.641

      The following release notes apply to Toolbox build 25.1.1107.641. Subassembly Prompt Fixes A pair of issues were reportedly occurring when attempting to work with subassembly prompts in the Edit Design Data interface. Subassemblies copied to the ...
    • Microvellum Foundation Library Release Notes | Build 25.1024

      The following release notes apply to the Microvellum Foundation Library build 25.1024. Additions Added Face Profile Options to the Door Wizard for enhanced design flexibility. Users can now apply decorative visual profiles to doors, drawer fronts, ...