Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Headings in Sub-Reports Post Reply Post New Topic
Author Message
avallone
Newbie
Newbie


Joined: 08 Oct 2012
Location: United States
Online Status: Offline
Posts: 6
Quote avallone Replybullet Topic: Headings in Sub-Reports
    Posted: 24 Dec 2012 at 5:43am

Perhaps you can help me with a problem I am having with Crystal Reports. I have a sub-report that has its own set a page headers. These are distinct from the page headers of the main report.

 

The heading show up when I run the sub-report by itself but when I run the main report, the heading portion of the sub-report is suppressed, only the detail lines show.

 

I cannot solve this by moving the heading to the main report because the sub-report is used in all three of my reports. In two of the reports I have two distinct detail sections.

 

I also tried to create group headers for the sub-reports. These are also suppressed in the main report.

 

Any help will be appreciated, I have been struggling with this problem for several day.

 
Bob Avallone

Bob Avallone
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 28 Dec 2012 at 3:52am
This is actually fairly easy, but not really intuitive.
 
1.  Create a group in your subreport that only occurs ONCE - I usually use whatever field(s) are linked in the Subreport Links.
2.  When configuring the group, turn on "Repeat Header on Every Page".
 
This will give you group headers that work as page headers.
 
Unfortunately, there is NO way to simulate page footers in subreports.
 
-Dell
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.031 seconds.