Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Conditional Supression of Page Header Post Reply Post New Topic
Author Message
amy79g
Newbie
Newbie


Joined: 25 Feb 2009
Location: United States
Online Status: Offline
Posts: 10
Quote amy79g Replybullet Topic: Conditional Supression of Page Header
    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!!
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet 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.
IP IP Logged
amy79g
Newbie
Newbie


Joined: 25 Feb 2009
Location: United States
Online Status: Offline
Posts: 10
Quote amy79g Replybullet 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?



Edited by amy79g - 24 Mar 2009 at 6:56am
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 24 Mar 2009 at 6:55am
right click group, select 'Change Group', options tab, Repeat headers on each page.
 
 
IP IP Logged
amy79g
Newbie
Newbie


Joined: 25 Feb 2009
Location: United States
Online Status: Offline
Posts: 10
Quote amy79g Replybullet Posted: 24 Mar 2009 at 6:57am
Ah -- Perfect, THANK YOU!!  Thumbs%20Up
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.018 seconds.