Print Page | Close Window

Conditional Supression of Page Header

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=5865
Printed Date: 29 Apr 2024 at 5:40am


Topic: Conditional Supression of Page Header
Posted By: amy79g
Subject: Conditional Supression of Page Header
Date Posted: 23 Mar 2009 at 2:12pm

I have a report that goes like this

Page Header - This has data and headers relevant to the Group Header #1
Group Header #1 is a subreport of individual rows of data (pulls from an Excel sheet)
 
I ONLY need the page header on the pages that print with the data in GH1.  This could 1 or 10 pages. 
 
I would like to be able to format my report to say: "Only show Page Header if there is data in GH1 Subreport"  What I want to prevent is having the Page Header on a page with my Report footer where it is not needed.  How can I do this?  Thank you!!



Replies:
Posted By: lockwelle
Date Posted: 24 Mar 2009 at 6:28am
To make things simpler, couldn't you move the page header info into group header 1a, and group header 1 into 1b.  Then the header would only print once per group (unless you changed it to print on every page) and the report formats the way you want.
 
And you wouldn't necessarily need to do a new page before on the group, though, for something like this, it sounds like it would look nicer if you did.


Posted By: amy79g
Date Posted: 24 Mar 2009 at 6:39am

I want it to print on each page that has the detail from the sub report.  If there is no detail from the subreport on the final page, I do not want it to print.  How do I do that?



Posted By: lockwelle
Date Posted: 24 Mar 2009 at 6:55am
right click group, select 'Change Group', options tab, Repeat headers on each page.
 
 


Posted By: amy79g
Date Posted: 24 Mar 2009 at 6:57am
Ah -- Perfect, THANK YOU!!  Thumbs%20Up



Print Page | Close Window