Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Subreport with no page headers Post Reply Post New Topic
Author Message
Matt
Newbie
Newbie
Avatar

Joined: 04 Jun 2008
Location: United Kingdom
Online Status: Offline
Posts: 19
Quote Matt Replybullet Topic: Subreport with no page headers
    Posted: 30 Nov 2012 at 5:19am
Does anyone know how to get subreports to have page headers?
 
When I add a report as a subreport the page header options are not available.  Maybe thats just the way Crystal is but I wonder if there is a work around?
 
Any help greatfully received.
 
Matt
With all due respect.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet Posted: 03 Dec 2012 at 6:20am
Page headers are fairly easy, page footers can't be done.
 
To create a pseudo page header:
 
1.  Group on something in the subreport that only occurs once.  For example, I usually group on the field I'm linking to.  If there are a combination of fields in the link, I create a formula that concatenates them and group on that.
 
2.  In the group header section in the grey area to the left of the report, right-click and select "Change Group..."
 
3.  Go to the Options tab and turn on "Repeat group header on each page".
 
4.  Put your page header info in the group header section.
 
-Dell
IP IP Logged
Matt
Newbie
Newbie
Avatar

Joined: 04 Jun 2008
Location: United Kingdom
Online Status: Offline
Posts: 19
Quote Matt Replybullet Posted: 03 Dec 2012 at 10:42pm
Thats great.
Shame about the footers, that was my next question.
Thanks very much.
Matt
With all due respect.
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.016 seconds.