Print Page | Close Window

Subreport whilereadingrecords 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=20099
Printed Date: 02 May 2024 at 9:10am


Topic: Subreport whilereadingrecords header
Posted By: bpmcnary
Subject: Subreport whilereadingrecords header
Date Posted: 08 Oct 2013 at 9:04am
Hi Guys,
 
I'm using a formula to drive my page header so that, despite the subreport, the page header remains the same.
 
The formula is
 
WhileReadingRecords;
""
 
I've also inserted on the page header section suppression logic. The formula is
If not inrepeatedgroupheader then false else true.
 
I've inserted this to the top most group of my subreports and checked off repeat header. Initially this was working perfectly and for whatever reason, now it's not. If, for example, a subreport gets pushed to another page the header is simply blank.
 
Any thoughts? Much appreciated!
 



Replies:
Posted By: bpmcnary
Date Posted: 08 Oct 2013 at 10:19am
an added note... on the main report, I haven't selected "repeat group headers". I wasn't sure if i needed to do this on the main report level; it's only been done on the subreport level.
 
Thanks,
Brandon


Posted By: DaBoujibo
Date Posted: 11 Oct 2013 at 10:08am
Hi, bpmcnary.

I have some questions for clarification purposes before I can answer.

First, when you say you inserted the page header section suppression logic, was that entered in the Section Expert: Suppress (No Drill-down) formula section? I ask because all you would enter there is when you want it suppressed.

Second, can you describe the layout a bit more? Do you have multiple subreports within your main report? The page header you are wanting to display/suppress, is that on each of the subreports or on the main report? I'm just trying to visualize how your report is laid out.

DaBoujibo



Print Page | Close Window