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

How can I get rid of an extra page 1

Status
Not open for further replies.

JCruz063

Programmer
Feb 21, 2003
716
US
Hi all!

I'm using Crystal Reports 10, and I have a report with a group in it. I want every value of the group to print on a different page, so at the "Group Footer" section, I have checked the "New Page After" checkbox.

Some objects in my report are visible only after the first page of every group value (as each different value of the group spans multiple pages), and so I have also checked the "Reset Page After" checkbox on my group footer. This way, I suppress the objects whenever "PageNumber" is 1, and show them otherwise.

My problem is that at the end of the report, I get an extra page containing only the objects in my "Page Header" section. Because I'm resetting the page for every group value, I cannot use the TotalPageCount function to hide the extra page. How can I get rid of this extra page? I'm sure this must be very simple, but I haven't been able to figure it out. Can anyone please shed some light?

Thanks!

JC

_________________________________________________
To get the best response to a question, read faq222-2244.
 
Test for [b[onlastrecord[/b]?

If that fails, do a grand-total ummary count and a running total count for the same field. When the two values are equal, it must be the last record.

[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Perfect! Works like a champ.

Thanks!

JC



_________________________________________________
To get the best response to a question, read faq222-2244.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top