473,795 Members | 3,151 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sub report / main report formatting

418 Contributor
3 sub reports containing 3 separate expense data are placed under groupheader0 on a main report. The summary total for these expenses is placed under the groupfooter0.

Because of the fact that some data may be longer than the other, I am having difficulty keeping each expense sub report together. On some pages part of one sub report data hangs as an orphan.

Is there a way to keep it together without compromising the summary total for all three?

Thanks.
Jun 9 '09 #1
8 2797
ChipR
1,287 Recognized Expert Top Contributor
What is it that you would like to happen? I'm not sure how the sub report running over the page length would "compromise " the total.
Jun 9 '09 #2
MNNovice
418 Contributor
Well, all three sub reports (report AP, Report pay and report Allocation) are under one groupheader. I also have a report header and footer. I added a groupfooter to display the summary total expense for each sub report.

In print preview I see that on some pages only the title a sub report (let's say Payroll Expenses) is hanging all by itself and the actual payroll data is on the next page. My question is how do I keep the label "Payroll Expenses" and its relevant data on the same page?

If I put the 3 sub reports under 3 separate groupheaders, then I cannot get a summary total for all 3 because I will then have 3 separate groupfooters. Am I making sense?

Thanks.
Jun 9 '09 #3
ChipR
1,287 Recognized Expert Top Contributor
Where is the title of the sub-report located? Make sure that section has Keep Together set to Yes. On the Group & Sort menu, there is also a Keep Group Together option for "Keep header and first record together on one page."
Jun 9 '09 #4
MNNovice
418 Contributor
Each sub report has all that you mentioned as "YES". May be I didn't explain it better. Picture this:


Report header
Main report title

Group header0
Sub report 1 title
sub report 2 data

Sub report 2 title
sub report 2 data

Sub report 3 title
sub report 3 data
Groupfooter0
Summary: srpt1 $xxxx
srpt2 $xxxxx
srpt3 $xxxxx
Total $xxxxx
ReportFooter
Summary.....

On some pages my report has only the sub report title and the data falls to the next page. I am trying to figure how do I keep these two together.

Thanks.
Jun 9 '09 #5
ChipR
1,287 Recognized Expert Top Contributor
Obviously, the data for a sub report is in the detail section of the sub report. What section is the title in? The header of the sub report, or the group header of the main report?
Jun 9 '09 #6
NeoPa
32,579 Recognized Expert Moderator MVP
I'll give this some further thought later, but I suspect your options here are quite limited.

For an individual section Header / Footer you can choose to try to keep it with its details, but over multiple items that will be clumsy to say the least.
Jun 9 '09 #7
NeoPa
32,579 Recognized Expert Moderator MVP
I've looked at this again, and I can't think of a way of doing this.

One reason is that the three reports are all within the same section so Section level properties are not available to you. Controlling this may be possible within your reports (the ones within the subreports), but intelligent control - depending on how much space is available for specific instances - will be complicated (asuming it's even possible).
Jun 9 '09 #8
MNNovice
418 Contributor
Thanks. I thought so too.
Jun 10 '09 #9

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

Similar topics

3
10215
by: GorDon | last post by:
Hi, I have a report based on a query. The query grabs a memo field from my main table, yet when I display the memo field in the report it truncates the memo field (the field needs to hold more than 255 characters). The table holds all the memo text, but the query seems to truncate the memo field to 255 chars? This seems like there should be a relatively easy fix, but I can't seem to find it.
3
2211
by: Dom | last post by:
Hi, I have a werid problem with a subreport. If someone can help me out I'd be very grateful! Based on results from a query, the visibility of textboxes and labels in a subreport are set to true or false. Some sample code is below. It all looks straight foward however the desired output does not happen. To makes things even more strange when I load the Print Preview of the subreport and then switch to the Design View of the subreport...
8
3539
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At the moment the printed output is usually going to Word. It's turning into an unholy mess, because I'm having to prepare umpteen different Word templates, and the queries that drive them, depending on what events a course has.
7
3572
by: Ellen Manning | last post by:
I've got an A2K report showing students and their costs. Student info is in the main report and costs are in a subreport for each student. The user inputs the program desired then only those students in that program are printed. I want the subreports headings to print only for the first student on the page. Is there a way to suppress printing of the headings on subsequent students on that page? I tried the following in both the...
2
2022
by: collegekid | last post by:
Hi everyone, basically my problem is this: I am using an Access 2000 format. And--I have four subforms in my main form. (Purpose of this is to track projects.) So in my main form I enter the project name, one primary point person for it (1:N list from a separate table), other details, and a manually entered tracking number, which is the primary key. Now, I also need to put down the legal entities, business managers, financial...
4
7237
by: Jana | last post by:
Hi! I have an Access 97 report based on tables linked to an SQL back end. The report has 5 subreports in it (unfortunately unavoidable due to the nature of the report) and performance is quite slow. The query runs quickly and the report displays the first page in a short amount of time, but takes quite a while to format each page. This means it takes a long time to print the report (up to 50 mins to print around 360 pages!) as it...
3
1846
by: Jimmy | last post by:
Is there a way to force access to wait a specified time before making a calculation? On my report there is a subreport with a number of calculation on it. One if which is a count of certain records using a text control with a running sum. When I display the subreport on my main report, I can see the correct count but when I make a reference to that control on the main report, I simply get the number 1. I am sure that the reference to the...
5
3066
by: CarrieR | last post by:
I am working within a DB I have been devolping in Access 2003, and have encountered a report coding issue I was hoping someone could help me with: I have 18 reports, each running off some smaller queried version of 2 main queries (apx. 6000 records each). The purposes of the DB and the reports require the formatting of these reports to change monthly as Actual Revenue is reported. I can accomplish all of these monthly formatting changes...
10
2151
by: sara | last post by:
Hi - I have a report that is 14 columnar sub-reports (Line up: Position- holders in each of our 14 locations - Manager, Assistant Manager, Receiving, Office, etc). I output directly to PDF (using ConvertReportToPDF from this site - Stephan Lebans) The formatting - Outlines on some fields - do not appear on subreports
6
5457
by: Brett Barry: Go Get Geek! | last post by:
Hello, I have a main report with a Record Source, a DateToday table, that has the current Month and Year. I have about 60 queries, each pulling different data via ODBC, that I am creating subreports that go on the main report. The problem is that when I run the report the data shows on the screen but not the print preview. I am aware that the main report is not linked to the subreports because of the Link Master, Child Fields issue....
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
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
10164
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
10001
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
6780
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
5437
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
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
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.