Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Sub-report Post Reply Post New Topic
Author Message
Zuzanna
Groupie
Groupie


Joined: 10 Sep 2010
Location: Canada
Online Status: Offline
Posts: 56
Quote Zuzanna Replybullet Topic: Sub-report
    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.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet 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
IP IP Logged
Zuzanna
Groupie
Groupie


Joined: 10 Sep 2010
Location: Canada
Online Status: Offline
Posts: 56
Quote Zuzanna Replybullet 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.
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.047 seconds.