473,836 Members | 1,487 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Including Footers on Subreports in Access

68 New Member
My users have a database that they store the rules and requirements for how they do business in. For example: the Fiscal Policy or Board of Trustees Policy. The way the database reports are set up the user can print out the Title Page for the Fiscal Policy Manual and in a separate report the Table of Contents for the Fiscal Policy Manual and in a third report the Policies for the Fiscal Policy Manual. These 3 reports combined make up the Fiscal Policy Manual.

I am being asked to combine these 3 reports into 1 report. I can do this with 4th report that holds the 3 sub-reports. The issue is that each report has a different header and footer (in particular page numbering) and when I combine the reports I can not get the header or footer of the sub-reports to show. If I add a Header to the main report I am getting the header for the 1st sub-report (which then shows duplicative headers), but I can not get the header or footers for the other 2 sub-reports. Is there a way to force the header and footer to show or hide for each sub-report? Or is there a way to set page numbers to start on page 3 instead of page 1?

If you know of a better way to accomplish this and are willing to share with me I would really appreciate the help. I am stumped on this.

Thank you for reading my problem and sharing any solutions you have come across with me.
Jul 9 '13
23 5885
zmbd
5,501 Recognized Expert Moderator Expert
Simplified the control source in the "Page N of M" in the test database. It now reads:
=IIf(([Page]>[z_ctrl_txt_offs et]),"Page " & ([Page]-[z_ctrl_txt_offs et]) & " of " & (([Pages]-[z_ctrl_txt_offs et])),"")
Jul 14 '13 #21
zmbd
5,501 Recognized Expert Moderator Expert
Updated the database in Post #16

This has all of the changes incorporated in the code and the control.
I have also reordered the SR(#) grouping. The mock-page header was repeating within the detail section when the PK was chaning (1 to 2 to 3 etc...) The SR# group(=1):heade r was promoted to the top level and the general record sorting a grouping under "=1" in the subreport. Also set the SR# mock-page header to repeat by setting the repeat section setting for "=1" group to true.
All Rainbows and Sunshine!
Jul 14 '13 #22
time2hike
68 New Member
ZMBD, Thank you for the Rainbows and Sunshine! It is beautiful!!! Thank you so much for your help. I really appreciate you taking the time to work through this with me.
Jul 15 '13 #23
zmbd
5,501 Recognized Expert Moderator Expert
My pleasure.

To be honest, I don't usually do the full blown database and code prefering instead to "help you help yourself" approach; however, reading the MVP forums, the MS sites, and other forums, the page numbering thing is a real task - even for the MS-MVPs!
Well we have it now, let's just hope your Boss doesn't want the "i - xi" type page numbering for the TOC, I might just cry ;,-(
Good luck with the rest of your project!
Jul 15 '13 #24

Sign in to post your reply or Sign up for a free account.

Similar topics

4
603
by: Matt Howard | last post by:
I was wondering if anyone had any code samples on how to call functions within a Microsoft Access module using ASP.NET. I found a posting on how to do it with C#, but does anyone know how to do it using VB and ASP.NET? Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
6
1608
by: Colin McNaught | last post by:
Hi, I find myself having to support a small ASP/VB/Access web application for a customer of mine. (Our main expertise is PHP/MySQL/Apache). Other than testing on the Customers ISP's Server, are there any low cost ways to set up a Server environment in our office to develop/support and test minor incremental changes to the application. We have a W2000 Professional and Office Professional system but no MS Server software. Colin
14
24639
by: Edward Diener | last post by:
In C++ one can change the access level in a derived class by the "using" keyword. So, for instance, a public method in a base class can be made private in a derived class. Is there any way of doing this in C# ?
37
5277
by: jasmith | last post by:
How will Access fair in a year? Two years? .... The new version of Access seems to service non programmers as a wizard interface to quickly create databases via a fancy wizard. Furthermore, why would you even continue to use Access as a backend when you have a much superior option in SQL express? What about as a future front-end development tool? Let's get serious. Microsoft continues to publish numerous articles and videos on how you...
6
13376
by: SEFL | last post by:
Hi there, I'm trying to write a VBS that accesses a local database on my system (personal project). I'm running Windows XP 64-bit with Access XP. Every time I try to access the database on the machine, I get the following error: "Provider is not specified and there is no designated default provider."
3
1732
by: DeanL | last post by:
Hi all, I'm currently pulling out my already thin hair and need a little help if possible. I have an Access 97 db that is used to store inspection information for different regions. My report is meant to show the number of inspections done in each region and what ratings they achieved as below: Region Green Yellow Red NR Total
2
6395
by: cycnus | last post by:
Does anyone else have the same issue? I'm using Access 2007 and trying to export a DAO recordset to excel using CopyFromRecordset but I systematically get a "Run-Time error 430, Class does not support Automation or does not support expected interface". When I use ADO, it works fine. Everything is up-to-date on my PC, doesn't seems to be any broken references, and everywhere I look, it says that CopyfromRecordSet should work with both...
3
7757
by: Brett Barry: Go Get Geek! | last post by:
Hello, I just started using Access 2007 after using Access 2003 for a long time. I've created all my queries and they work fine. However, either I forgot or it has changed but, how do I create a report based off of multiple queries? I tried using the report wizard using one query. In the Properties sheet of the report, the record source for the report only shows one query. But if I try and add another text box and add the control
65
5113
by: Hongyu | last post by:
Dear all: I am trying to write to a file with full directory name and file name specified (./outdir/mytestout.txt where . is the current directory) in C programming language and under Unix, but got errors of Failed to open file ./outdir/mytestout.txt. Below is the code: #include <stdio.h>
10
3193
by: glenfernandez | last post by:
HI there, Need a little help with the reporting component of my MS Access 2002 project and would appreciate any insight / help from the experts. Please bear with me as I am still learning Access and this is my first project using it. I'm generating a financial reporting system for a bank and have created a form for user input to dynamically generate the financial reports. So far everything is coming along ok. The reporting options allow...
0
9814
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
10838
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
10544
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
10585
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
10250
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
9369
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7788
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6977
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
5821
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.