Print Page | Close Window

Page break in crystal

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=13617
Printed Date: 09 May 2024 at 1:00pm


Topic: Page break in crystal
Posted By: Zuzanna
Subject: Page break in crystal
Date Posted: 28 Jun 2011 at 8:19am
Hi,
 
we are on ver. 2008 crystal. I have a report that is grouped by 2 fields(VP and Directors). The report looks as follows:
 
VP: John Doe
 
Directors :
 
Test, One           999
Test, Two           999
Test, Three         999
 
Total by VP       9,999
 
Once in a while I get a page break and the VP and Directors heading is on one page and the list of directors on another page. My report looks as follows:
 
VP: John Doe
 
Directors :
 
followed on next page
 
Test, One           999
Test, Two           999
Test, Three         999
 
Total by VP       9,999
 
In a Section Expert I've checked off "Keep together" for all my sections and on group footer 1 for VP, I also have a formula for "Keep together' as follows :
 
if previous( mailto:%7b@vp_name_format%7d%29=%7b@vp_name_format - {@vp_name_format})={@vp_name_format }
     then true
else false
 
What do I do to at least have the 1st director on the first page as follows :
 
VP: John Doe
 
Directors :
 
Test, One           999
 
and on the next page
 
Test, Two           999
Test, Three         999
 
Total by VP       9,999
 
Thanks in advance.



Replies:
Posted By: DBlank
Date Posted: 28 Jun 2011 at 8:41am
create a GH1a
move your group header to GH1b
make GH1a tall enough to fit all of GH1b and 1 detail section
mark it as keep section togther as TRUE and 'underlay following sections' as true


Posted By: Zuzanna
Date Posted: 28 Jun 2011 at 10:16am

Thanks, it looks like it worked.




Print Page | Close Window