Progress
Report Builder
User’s Guide


Inserting Page Breaks

You specify page breaks in the report by inserting new-page band lines where you want the break to occur. You can place a new-page band line anywhere on the layout. However, Report Builder ignores new-page band lines in certain bands, such as a page header/footer or a swapped group header/footer. You can also use the options in the Group Level dialog box to automatically start a new page when group fields change. See "Sorting and Grouping Data," for information on swapped headers and footers.

You can also produce conditional page breaks by using the conditional printing option. The conditional printing option assigns a logical condition to a new-page line and only prints the band line when the condition is met. For example, if some of your purchase orders require an additional page for footnotes and others do not, you can specify that the inserted new-page line will cause a page break only when a field contains a specified value. For more information on how to conditionally print band lines, see the "Specifying Conditional Line Printing" section.

Follow these steps to insert page breaks in your report:

  1. Choose Create Band Line or right-click in the band area. The Create Band Line dialog box appears.
  2. Choose either Another Type Line or Different Type to specify the band line type.
  3. If you are creating a band line of the same type as the currently selected line, specify the line position (above or below the currently selected line).
  4. If you are creating a band line of a different type, select the type from the drop-down list.
  5. Activate the New Page Line toggle box. An “x” appears in the box indicating that the line you are inserting is a new-page line.
  6. Choose OK to create the band line and return to the report layout.

The Report Builder inserts a dashed line in the specified area of your report layout, indicating a page break. You can place a page break anywhere on the report layout. Table 3–3 explains how the location of new-page lines controls the page break’s location.

Table 3–3: Positioning Page Breaks 
If you place a new-page line in . . .
Then the page break occurs . . .
The last line in the title band
After the title
The last line in the group footer band
After the group
The last line in the record band
After each record
The first line in the summary band
Before the summary

You can move, copy, or delete a new-page line just like other lines on your report layout.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095