By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,863 Members | 838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,863 IT Pros & Developers. It's quick & easy.

Subreport Page Header Problem !

P: n/a
In a report I have 3 sub-reports. Each Sub-Report has it's own Page
Header.

When I run the sub-reports individually, the page headers print
correctly ... but ...
when I run the main report the subreport page headers do not print
(they are simply invisible).
The Sub-Reports' Report Header Band does get printed though.

Any idea why the Sub-Reports' Header Band gets printed, but the
Sub-Reports' Page Header Band does not get printed ?? How can I
overcome this ?

And yes ... I have checked ... all bands are set to VISIBLE.
Thks & Best Rgds,
Prakash
Nov 12 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Prakash Wadhwani" <si****@omantel.net.om> wrote in message
news:60**************************@posting.google.c om...
In a report I have 3 sub-reports. Each Sub-Report has it's own Page
Header.

When I run the sub-reports individually, the page headers print
correctly ... but ...
when I run the main report the subreport page headers do not print
(they are simply invisible).
The Sub-Reports' Report Header Band does get printed though.

Any idea why the Sub-Reports' Header Band gets printed, but the
Sub-Reports' Page Header Band does not get printed ?? How can I
overcome this ?

And yes ... I have checked ... all bands are set to VISIBLE.


Sub-Reports have no "page" anything. All Page stuff is handled by the parent report.

Add a top level group section to the sub-reports using an expression like 1=1 and set
the RepeatSection property to True. It will act just like a Page Header only it will
still work when used as a sub-report.
Nov 12 '05 #2

P: n/a
Thx Rick ! This seems to do the trick. I already had a group section
(for testing purposes - which I'll remove later) ... I just pasted the
header in that section like you suggested & set the RepeatSection
property to True. This works !

Later after I'm through testing I'll change my Group Section control
source to 1=1 like you suggested.

Can you please explain though what this does ? Does it just work like
a dummy group ensuring 1=1 is always true ... I'm a little confused
here.

Thx & Best Rgds,
Prakash


"Rick Brandt" <RB*****@Hunter.Com> wrote in message news:<bl************@ID-98015.news.uni-berlin.de>...
"Prakash Wadhwani" <si****@omantel.net.om> wrote in message
news:60**************************@posting.google.c om...
In a report I have 3 sub-reports. Each Sub-Report has it's own Page
Header.

When I run the sub-reports individually, the page headers print
correctly ... but ...
when I run the main report the subreport page headers do not print
(they are simply invisible).
The Sub-Reports' Report Header Band does get printed though.

Any idea why the Sub-Reports' Header Band gets printed, but the
Sub-Reports' Page Header Band does not get printed ?? How can I
overcome this ?

And yes ... I have checked ... all bands are set to VISIBLE.


Sub-Reports have no "page" anything. All Page stuff is handled by the parent report.

Add a top level group section to the sub-reports using an expression like 1=1 and set
the RepeatSection property to True. It will act just like a Page Header only it will
still work when used as a sub-report.

Nov 12 '05 #3

P: n/a
"Prakash Wadhwani" <si****@omantel.net.om> wrote in message
news:60**************************@posting.google.c om...
Thx Rick ! This seems to do the trick. I already had a group section
(for testing purposes - which I'll remove later) ... I just pasted the
header in that section like you suggested & set the RepeatSection
property to True. This works !

Later after I'm through testing I'll change my Group Section control
source to 1=1 like you suggested.

Can you please explain though what this does ? Does it just work like
a dummy group ensuring 1=1 is always true ... I'm a little confused
here.


That's all it does. Any constant expression would work.

--
*******************************
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
*******************************
Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.