BOFocus – Crystal Reports Tips – Tricks – Tutorials

Crystal Reports - Design

Repeating Group Headers

In Crystal Reports there is a feature to force group headers to repeat on each page. This can be done by checking the box next to “Repeat Group Header on Each Page” on the Options tab when inserting or changing a group.

When paging through a report where a group spans multiple pages you can sometimes think you are looking at the beginning of the group when you’re not. What would be nice would be to show the word “continued” on each group header after the first one for a given group.

Create the following formula and place it in your Group Header.

Example: This group is based on Country:

if InRepeatedGroupHeader then {Addresses.Country} + ”   continued…” else {Addresses.Country}

Tagged , ,

One thought on “Repeating Group Headers

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

GET SOCIAL

QUICK TIP

To format a report section

Right-click the report section and click Format Section.

ADVERTISMENT