473,671 Members | 2,216 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 23267
"Prakash Wadhwani" <si****@omantel .net.om> wrote in message
news:60******** *************** ***@posting.goo gle.com...
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.goo gle.com...
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.goo gle.com...
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
1703
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 written notes). I made all of these in the Page Header section. By the way, this is a report form to track the daily progress of students. --Report Header--none. --Grouping section--yes. The report form has a StudentID Header, which
4
1804
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
1865
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( Keyword and Description) for individual content page by writing the following line on Page_Load event in content page Sub Page_Load()
2
5723
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 styles as follows: this.Page.Header.StyleSheet.CreateStyleRule(style, this.Page, ".mySimpleRule");
2
1636
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 possible? please help. thanks in advance
3
4698
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 but when I drag the field to the page header it shows 'error' when I run the report. Can someone explain why this isn't working? Any workarounds? Thank you. John
5
5509
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. DoCmd.OpenReport strReportName, acViewPreview, , strWhere Reports(strReportName)("SearchCriteriaBox").Value = strWhere How can I get it to work on the first page too, please? There are other,
1
6512
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 Grow property to Yes. This works fine. Below that, there is the column headers for the sales lines which appear in the Detail section.
1
1373
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 then when I scroll to right side horizontally the header of the master page doesn't render same size as the content page. Header remains the size of the windows but not same size as the content page's content. How can I increase the size of...
0
8472
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8909
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8819
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8596
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8667
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4221
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4399
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1801
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.