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

NEW PAGE FUNCTION - CRYSTAL 8

Status
Not open for further replies.

pjmdesigns

Technical User
Mar 7, 2003
39
GB
I have a report with 1 group. My question is simple - I want each group header to be displayed on a new page.

I have tried using the 'New Page Before', but then get a blank page at the start of the report, I assume I'm using the right function, but how to I get rid of the blank page?

Thanks
PJ
 
Hi

do you have your group set to keep together?
if so
just click on the group footer and right click format section and there check new page after

cheers

pgtek
 
Yeah, the Group Header and Footer are set to keep together. I checked 'New Page After' on the Group Footer but now have a blank page at the end of the document instead?
 
hi

did you check in your group format section repeat goup header on every page?
 
I had another look: When checking 'New Page After' on the Group footer I entered the formula function 'Onfirstrecord', this seems to work, not quite sure why though! Any ideas?

Cheers for your help!

PJ
 
hi
it's aboolean expression
if it's true this is then do it

cheers

pgtek
 
If you use "New page before" for the group header, then in the x+2 area put:

Not Onfirstrecord

If you use "New page after" for the group footer, then enter

Not Onlastrecord

-LB
 
Result!

I thought it had worked, but was wrong; the groups were no longer on separate pages. I tried the NOT ONLASTRECORD (which along with pgteks last post makes perfect sense) and it works like a dream.

Thanks to you both!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top