Crystal Reports Online Training

Learn Online, Anytime, Anywhere

Step-by-step online tutorials.

3.11 Keeping the Group Together

Keeping the Group Together

The second and third checkboxes on the Options tab control whether the report should try to keep the entire group on the same page. These properties were mentioned earlier in the Keep Together discussion within the Formatting Groups section. Setting the Keep Group Together checkbox is important if you want to prevent having only a few records of a group appearing at the bottom of a page. When this option is on, the entire group is analyzed before it is printed. If it can’t fit on the rest of the page, then the remainder of the page is left blank and the group is started at the top of the next page.

The third checkbox, Repeat Group Header on Each Page, forces the group header to print at the top of every page. This is important for groups that can span multiple pages. Most of the time the group header displays information that makes it easier to understand the meaning of the groups detail records (like the group name and column headers). By default, if a group extends to a second page then its header is not printed at the top of the second page. If you feel that repeating the group header at the top of every page makes your report easier to read, then you should click this checkbox.