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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Duplicate records displaying in group header

Status
Not open for further replies.

vbit

Programmer
Jul 31, 2001
47
US
I have a report that contains three groups. I have set "New Page After" in Group Footer #1 and Group Footer #2. I have setup this report as a drill-down, so that only Group Header #1 is visible until you drill-down. The problem comes when I move to the second page of the report (not drilling-down). The second page shows Group Header #1 information from the first page and then right below that it displays the next record for Group Header #1, instead of starting a new page for it. In other words, Group Header #1 is showing duplicate data from the previous page and putting it just above the Group Header #1 data that should be on the second page. It does this duplication on every following page.

This problem started when I set "New Page After" for Group Footer #2. If I uncheck "New Page After" for Group Header #2, then Group Header #1 looks fine, but I need to have a new page start for every Group Header #2 record.

I am using Crystal Reports 8.5
 
there is a function called "InRepeatedGroupHeader"

In the section expert go to the hearder line in question and in the conditional suppress put this function by itself

this will suppress the complete header section if repeated.

Hope this helps

Jim
 
I was able to stop the records duplicating by unchecking "repeat group header on each page" in change group options.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top