Print Page | Close Window

Sub-report

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=16206
Printed Date: 09 May 2024 at 11:51am


Topic: Sub-report
Posted By: Zuzanna
Subject: Sub-report
Date Posted: 17 Apr 2012 at 10:33am
Hi,
 
I have a crystal report with bunch of sub-reports and my question is :
 
Is there a way to repeat the sub-report page headings on every page if the data overflows to multiple pages ?
 
eg.
 
Job Information
 
Eff Dt                 Job Tile        Department
 
04/17/2012       Clerk            Dept1
 
I placed the bolded headings in the Page Header on the sub-report and when I run it by itself, they repeat on each page, but once I insert the sub-report into the primary report and I run it, they don't repeat.
 
Thanks in advance.



Replies:
Posted By: DBlank
Date Posted: 17 Apr 2012 at 10:49am
i believe if you create a fake grouping in the subreport, move the page header items into the group header and then set the group header to repeat on each page


Posted By: Zuzanna
Date Posted: 19 Apr 2012 at 3:38am
Thanks for the idea. I got it working. I did the following :
 
In the sub-report, I created a new formula as follows :
 
Whilereadingrecords;
TRUE;
 
Then I grouped on this formula field. This has to be moved to be a first group if there are others. Then I checked in Group options repeat group header on each page.



Print Page | Close Window