Skip to main content Skip to footer

Adding Group Page Breaks

To display each data group on a separate page, you need to sort the data and add page breaks for each group. Where you do this depends on the type of report you're using. Let's take a look at grouping in each report type.

Section Reports

In a Section report, setting the NewPage property of a GroupHeader section to Before causes the report to create a new page before rendering the group header, so that each group is rendered on a separate page. Setting this property to After, or setting this property on a GroupFooter section also puts each group on a separate page. NewPage property in Properties window In addition to page breaks, there are other properties that you might find helpful in controlling how your groups render, such as KeepTogether, RepeatStyle, UnderlayNext, and GroupKeepTogether. For more information, see the recent blog article Page Break After N Records, and the following topics in our User Guide. Grouping Data in Section Reports | Add Grouping in Section Reports

Page Reports

How you add page breaks for each group in a Page report depends on how you group data and on what data region you use.

Grouping data on a fixed page

When you group data on a fixed page, the report adds page breaks automatically. This method works well when the report only has one data group. Here's how you add a data group on a fixed page.

  1. Select the report by clicking in the grey area around the page, and in the Properties window below the properties, click the Fixed Layout Settings command. Fixed Layout Settings commandNote: If you don't see the command, right-click the Properties window and select the checkbox for the Command option.
  2. In the dialog that appears, select the Grouping page.
  3. Drop down the Group on expression to select the data field on which to group the page. Fixed Page Grouping dialog

For more information on how to group data on a fixed page, see the Grouping in a Fixed Page topic in our User Guide.

Grouping data in a data region

To group data in a data region, set options in the Property settings dialog for the data region you use. Use this method when your report has more than one data group. For example, here's how you add page breaks for each data group in a Table control.

  1. Select the Table control and in the Properties window below the properties, click the Property dialog command. Property dialog command below Properties windowNote: If you don't see the command, right-click the Properties window and select the checkbox for the Command option.
  2. In the dialog that appears, select the Groups page, then the Layout tab.
  3. Select the checkbox next to the Page break at end option.PageBreakAtEnd property in Properties window

The Page break at start option also puts each group on a separate page. For more information on how to group data in your reports, see the following topics in our User Guide. Grouping Data (Page Layouts) | Grouping in a Data Region

MESCIUS inc.

comments powered by Disqus