Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with group info splitting across pages in Crystal 8.5

Status
Not open for further replies.

Hdlvr1572

Instructor
Dec 17, 2003
1
US
I have grouped information, using headers in the 'group header' section, the data in the group details section, and totals in the group footer sections. Depending on the amount of data pulled from the records, the page may print 3 sections of all the group details, or, it may print 2 groups, and just the group header on page one, or the group header and details on page one, with the remainder of the data carried over to the second page. I need to get as much info on a page as possible, but also need to make sure that the header, details, and footer carries over as a whole when it cannot be completely displayed on the same page. How do I accomplish this?
 
Check your group options.

Right click where it says Group Header #1, which is immediately to the left of the report canvas.
Choose Change Group from the pop up menu.
Under Options, you will have 2 properties, Keep Group Together, and "Repeat Group Header on each Page". Select them both.
Click OK and test

~Brian
 
In addition to Brian's suggestion, you will want to be wary of any variable manipulation that you are doing in the group header band if you choose to select "Repeat Group Header on Each Page". Formulas in the repeated group header will be reprocessed, and that may not be what you want.

You can test for this using the inrepeatedgroupheader constant:

If not inrepeatedgroupheader then MyVar := 0;

-Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top