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

crystal 8.5, group on new page, uneven page #

Status
Not open for further replies.

hsandwick

Programmer
Sep 10, 2001
286
US
Is it possible to start a new group on a new page, that must be an uneven page number in all cases?

I.e., if previous group ends on an uneven page # page, it would be followed by an empty page w/"This page left intentionally blank", if prev gp ends on evenly # page, then new group will start on next (uneven page #) page.

Tks for your help!

H
 
Add an additional GroupHeader1, leave it empty, and move it above your original group header. Go to Format>Section, select Group Header #1a, and enter this formula for New Page After:
[tt]
not onfirstrecord and remainder(pagenumber,2) = 0
[/tt]
Then, highlight Group Footer #1 in the Section Expert, and enter this formula for New Page After:
[tt]
not onlastrecord
[/tt]
-dave
 
Create a Page Header a section with the same height as your paper and conditionally suppress that using

WhilePrintingRecords;

if InRepeatedGroupHeader Then
True
else
if remainder(PageNumber,2) <> 0 then
true
else
false

This works in V9 Hope this helps

Gary Parker
Systems Support Analyst
Manchester, England
 
Thank you, Vidru and GJParker. Much appreciated!

Helen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top