473,395 Members | 1,972 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,395 software developers and data experts.

Columns and subreports

I have a main report (single column report and page headers and
footers) and a 4 column subreport in the detail section. The report
will generally be a single page.
Everything prints fine except that I cannot get the report footer onto
the same page as the subreport, it always goes onto another page even
when there is obviously room for it on the first page.
I have the main report detail section set to can grow Yes if I set
this to No the subreport seems to then only print a single column.

Alex
Nov 13 '05 #1
4 2815
Alex wrote:
I have a main report (single column report and page headers and
footers) and a 4 column subreport in the detail section. The report
will generally be a single page.
Everything prints fine except that I cannot get the report footer onto
the same page as the subreport, it always goes onto another page even
when there is obviously room for it on the first page.
I have the main report detail section set to can grow Yes if I set
this to No the subreport seems to then only print a single column.

Alex


On a situation like this, I cheat. I add a column to the reports
recordsource. Open up the query and enter
Master : "M"

Now make Master the first column to group on (Edit/Sorting&Grouping from
the menu). Add a footer to Master. Move the data from the ReportFooter
to the Master footer.

Since the Master sort column contains only 1 value, the break is always
at the end.
Nov 13 '05 #2
Salad <oi*@vinegar.com> wrote in message news:<EQ*****************@newsread3.news.pas.earth link.net>...
Alex wrote:
I have a main report (single column report and page headers and
footers) and a 4 column subreport in the detail section. The report
will generally be a single page.
Everything prints fine except that I cannot get the report footer onto
the same page as the subreport, it always goes onto another page even
when there is obviously room for it on the first page.
I have the main report detail section set to can grow Yes if I set
this to No the subreport seems to then only print a single column.

Alex


On a situation like this, I cheat. I add a column to the reports
recordsource. Open up the query and enter
Master : "M"

Now make Master the first column to group on (Edit/Sorting&Grouping from
the menu). Add a footer to Master. Move the data from the ReportFooter
to the Master footer.

Since the Master sort column contains only 1 value, the break is always
at the end.


Thanks for that. The footer is now at the end of the page but it is in
the last column. I want it to be the full page width. The report has a
header that spans the full page and a footer that must also span the
page. The detail section is in four columns.
Alex
Nov 13 '05 #3
Alex wrote:
Salad <oi*@vinegar.com> wrote in message news:<EQ*****************@newsread3.news.pas.earth link.net>...
Alex wrote:

I have a main report (single column report and page headers and
footers) and a 4 column subreport in the detail section. The report
will generally be a single page.
Everything prints fine except that I cannot get the report footer onto
the same page as the subreport, it always goes onto another page even
when there is obviously room for it on the first page.
I have the main report detail section set to can grow Yes if I set
this to No the subreport seems to then only print a single column.

Alex


On a situation like this, I cheat. I add a column to the reports
recordsource. Open up the query and enter
Master : "M"

Now make Master the first column to group on (Edit/Sorting&Grouping from
the menu). Add a footer to Master. Move the data from the ReportFooter
to the Master footer.

Since the Master sort column contains only 1 value, the break is always
at the end.

Thanks for that. The footer is now at the end of the page but it is in
the last column. I want it to be the full page width. The report has a
header that spans the full page and a footer that must also span the
page. The detail section is in four columns.
Alex


Hmmm...I guess this is where you need to fiddle and fart with it.
Something you could test would be to set a global variable for the
report to false when the report opens. Then set it to true with you get
to the Master footer. Move your fields into the page footer. Only
print the fields when true.

See MoveLayout, PrintSection in help. You'd either set this on the
OnFormat or OnPrint event.
Nov 13 '05 #4
Alex wrote:
I have a main report (single column report and page headers and
footers) and a 4 column subreport in the detail section. The report
will generally be a single page.
Everything prints fine except that I cannot get the report footer onto
the same page as the subreport, it always goes onto another page even
when there is obviously room for it on the first page.
I have the main report detail section set to can grow Yes if I set
this to No the subreport seems to then only print a single column.

Alex


Alex,

I have a similar report, except that the subreport is in an inner
footer, and there is text in the report footer that I need on the same
page. I set the subreport control to "can grow" = No, to force the
columns, since with it set to Yes, I always got just one column and it
went on for pages until it was done. And as I look now, the sections
themselves are all set to "can grow" = Yes, but since that subreport
isn't going to grow, it won't overflow the page. I did have to play a
bit with the size I give the subreport to allow enough space for the
data that appears there, but to also keep the footer on the page.

Rebecca

Nov 13 '05 #5

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

Similar topics

1
by: Anne | last post by:
I have a report containing multiple subreports (approximately 37 subreports) that are based on individual queries. The query calls to only display the subreport if there is valid data in the table...
3
by: Edward | last post by:
ACCESS 2k I need to design a report based on a rota system for staff at various shops. The data is effectively stored in a single table, along the lines of: Initials (e.g. BH, FG, RM etc.)...
2
by: DFS | last post by:
Main report contains one large graph in the detail band (no detail records). Subreport snakes just fine (5 columns) when opening by itself. When I add it to the main report (in the report...
1
by: Peter Bailey | last post by:
I have a report that gives the classroom and then a list of students in it for a particular week. Thats fine if I want just one column with its associated rows of students. I have been asked...
1
by: Don Sealer | last post by:
I have a report that includes 5 different subreports. I'd like to be able to open this report using a date function (Start Date and End Date). I'd like all five subreports to show the data from...
0
by: Don Sealer | last post by:
I have a report that includes 5 different subreports. I'd like to be able to open this report using a date function (Start Date and End Date). I'd like all five subreports to show the data from...
3
by: strauss.sean | last post by:
To all: Here's an interesting one: I have a query that produces 56 (!!) columns of data. The first three columns are "to repeat at left", as can be selected in Excel at File --> Page Setup -->...
1
by: sandersx2 | last post by:
I need to create a report that shows each employee with a listing of their current projects in columns according to the project status. Example: Employee...
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...
10
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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
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...
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,...

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.