473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Subreport Page Header Problem !

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
3 23247
"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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Arnold | last post by:
Hi Everyone; In a report, I've essentially recreated a paper sheet by adding various labels--name, date, problem, year, Progress Notes, etc.--and horizontal lines (people have traditionally...
4
by: scrawford | last post by:
Hi all, Does anyone know how I can have a Page Header, but have something between that and the detail of the report??? ie.. Page Header Once off piece of text (for the first page only)
1
by: Asif | last post by:
Hi All, I did follow the MSDN article (http://msdn2.microsoft.com/en-us/ library/ms379585(VS.80).aspx ) for overriding Master Page properties by setting page title and other Meta information(...
2
by: Sergey Poberezovskiy | last post by:
Hi, What is the "right" way to create a css rule similar to the following in a page header: &lt;style&gt; ..myRule{text-align:right;padding-right:10px;} &lt;/style&gt; I know that you can add simple...
2
by: indrag91 | last post by:
hai, Iam using data report. i have created a group header. i want to display the field of the group header above the page header and i also want to diplay the page header in every page. How is it...
3
by: | last post by:
In my report I have a calculated field that counts the number of records of the underlying table, =Count(). This field is placed in the report's header. I'd like to repeat this value on every page...
5
by: Analysis&Solutions | last post by:
Hi: I'm using the following Visual Basic code to open a report and set the value of an unbound text box in its page header. It works... but only on pages other than the first one. ...
1
by: franc sutherland | last post by:
Hi, I am using Access 2003. I have set up an invoice in a report. I have set up the name and address as text boxes in the Page Header which I've made as small as possible then set the Can...
1
by: john20 | last post by:
I have master page in that I have header for the child pages, in the child page content populated in the table as row and colum. The problem is when the content in the childpage expand horizotally...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.