Visual Basic Concepts

Forcing Page Breaks in the Data Report

A page break helps to make a report more readable (and therefore understandable) by breaking the data into logical chunks of information. The Data Report designer allows you to force page breaks before or after any group header or footer, or force a page break after the report header or before the report footer. (Forcing of page breaks on page headers and page footers is ignored because they already occur before and after a page break.)

Note   This topic is part of a series that walks you through creating a sample data report. It begins with the topic, Creating a Simple Data Report.

The example below adds a page break before the group header that contains the CompanyName field.

To force a page break before the CompanyName field

  1. Click the group header named Customers to select it.

  2. On the Properties window, click ForcePageBreak, then click the arrow that appears at the right of the box.

  3. Click the 1rptPageBreakBefore  from the drop-down list.

  4. Run the project.

Step by Step

This topic is part of a series that walks you through creating a sample data report.

To See
Go to the next step Adding Date, Time, Page Number, and Title to the Data Report
Start from the beginning Creating a Simple Data Report