473,399 Members | 2,478 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,399 software developers and data experts.

Sub report / main report formatting

418 256MB
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 2777
ChipR
1,287 Expert 1GB
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 256MB
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 Expert 1GB
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 256MB
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 Expert 1GB
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,556 Expert Mod 16PB
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,556 Expert Mod 16PB
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 256MB
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
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...
3
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...
8
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...
7
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...
2
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...
4
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...
3
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...
5
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...
10
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...
6
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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,...
0
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...

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.