473,546 Members | 2,205 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Change Report Header for Different Sections

I've tried to be clear, but this still seems overly complex to me, but
here goes:

I have a report in front of an aggregate query. I have a single
subreport based on the same query for both a month/year group and for
grand totals (linked on month/year) .

Instead of the name of the program and the month/year, I would like:

- a label on the report header to read "Monthly Summary" with the month
& year when the subreport is printing for the footer of the month/year
group and

- a label on the report header to read "Overall Summary" when the
subreport is printing for the report footer.

I guess what I'm asking is how do I "sense" what report section I'm
viewing/printing a page from?

I'm using Access 2000.

TIA

Neill

Nov 13 '05 #1
2 4494
Look at the Format event of the PageHeaderSecti on and PageFooterSecti on in
Help and in this newsgroup.

Darryl Kerkeslager
"neill dumont" <ne**********@g mail.com> wrote:
I have a report in front of an aggregate query. I have a single
subreport based on the same query for both a month/year group and for
grand totals (linked on month/year) .

Instead of the name of the program and the month/year, I would like:

- a label on the report header to read "Monthly Summary" with the month
& year when the subreport is printing for the footer of the month/year
group and

- a label on the report header to read "Overall Summary" when the
subreport is printing for the report footer.

I guess what I'm asking is how do I "sense" what report section I'm
viewing/printing a page from?

Nov 13 '05 #2
OK, I did that. There were two messages that showed up on Google
Groups for this group: the response to my original post and another one
that had nothing to do with subreports. Help made no mention of doing
this for a subreport and Googling brought up a lot of stuff on how to
do totals in page footers. None of them help me.

I don't know how to do this. Would someone please take the time to
explain, in words of one syllable or less, how I can do this?

I tried the following in the DateFooter section that runs the
subreport, but no luck. The format event for DateFooter will fire, but
no change is made to the pageheader. Combo122 and lblMonthly are both
in the Parent report :

Private Sub DateFooter_Form at(Cancel As Integer, FormatCount As
Integer)

Me.Combo122.Vis ible = False
Me.lblMonthly.V isible = True

End Sub

TIA

Neill
Look at the Format event of the PageHeaderSecti on and PageFooterSecti on in Help and in this newsgroup.

Darryl Kerkeslager

"neill dumont" <neill.dum...@g mail.com> wrote:

I have a report in front of an aggregate query. I have a single
subreport based on the same query for both a month/year group and for grand totals (linked on month/year) .

Instead of the name of the program and the month/year, I would like:

- a label on the report header to read "Monthly Summary" with the month & year when the subreport is printing for the footer of the month/year group and

- a label on the report header to read "Overall Summary" when the
subreport is printing for the report footer.

I guess what I'm asking is how do I "sense" what report section I'm
viewing/printing a page from?


Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
12106
by: Melissa | last post by:
What specifically causes the Format event of a report's section to fire? Thanks! Melissa
4
1511
by: Greg Teets | last post by:
I have a table that provides all the details necessary for the line items of the report. I would like to use some other information in the header of the report. This information, like getting the invoice number for this invoice, the customer's previous balance, etc., would come from a completely different source. However, it seems that...
2
1702
by: Jasper Jones | last post by:
Hi, I've designed several Crystal Reports using the built in wizard. They point to my database as HQ which is called "Thom". There is a database called Sales on Thom which all the reports point to and get their results from. I'm ready to compile my program to give to the users at a different site. They have a database server there called...
2
1458
by: kaosyeti | last post by:
hey... i have a quarterly report that i'm working on where each of the 12 or so pages is completely different from the other. all are based on basically the same info (ergo, the same query) but the layout of the controls are wildly different from each other. right now, i've created each page of this report as its own report, just to get me...
8
1830
by: Maxi | last post by:
Hello, i'm sorry my bad english :( I have CR9 Webservice, how to change databadse name and User_name into Webservice method? (not Viewer Control) Tks!! -- --------------------------
1
4491
by: fixedpower | last post by:
I have an Access 2000 DB for a financial company. I have the table structure completed, but I am having trouble with the report. Basically, I have a Client tbl, a StockShares tbl, and a StockOptions tbl. One client can have many types of StockShares and StockOptions. I need to detail the StockShares and StockOptions on one page. The...
13
14895
by: Greg | last post by:
Most suggestions on this topic recommend to use a page footer and make it visible only on the last page. My problem is that the footer is half of the height of a page which means the detail would show on only the top half of each page with whitepace at the bottom of each page. How can I get the detail to fill each page with my "half page...
3
14126
by: billa856 | last post by:
Hi, I am making Project in MS Access. In that I want to generate Report. now when I creat new Report using wizard then it show me only Report Header,Report Footer,Page Headerand Page Footer. Now as in "NorthWind sample database" there is first Report named "Alphabetical List Of Products".In which there are ProductName Header and...
0
2193
by: adsaca | last post by:
there basic sections in Crystal report namely Report Header Page Header Group Header Details
0
7507
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...
0
7698
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. ...
0
7947
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...
1
7461
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...
0
7794
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...
1
5361
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5080
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...
0
3492
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...
1
1046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.