Solved

MS Access reoprts - multiple queries seperate pages

Posted on 2011-03-18
5
322 Views
Last Modified: 2012-05-11
I have hundreds of records of items pertaining to problems in a building. I want to print a report that will print one page per records for the same room. There could be as many as 200 rooms Each record has a room number field. I can create separate queries for each room, but that would take way too much time. There will be a varying amount of records per room depending on how many problems are found. Is there any way to run through the room number fields and for each one, group them on a page?
0
Comment
Question by:wlamore
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
RemRemRem earned 250 total points
ID: 35168914
In your Sorting And Grouping tool on the form's design side, set the top sort field to your room number.  You can then add any other sorts you want in after that, but make sure you set Group Footer to Yes on this Room sort layer. It will create a section of the report for the footer. Close the Sorting and Grouping and open the properties for the bar at the top of the newly formed footer section. Set Force New Page to After Section. (You can also turn on the Group Header and simply show your Room Number field in that header section, turning on repeat, to give you a nice clear view on each page as to which room it refers to.)

Note that if you have more than one page's worth of records, you'll get two (or more pages) for that room, but it will still start a new page for the next room.
-Rachel
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35172980
I think RemRemRem's post will get you what you are really after

I want to print a report that will print one page per records for the same room. There could be as many as 200 rooms

So, for example, if Room 101 had 14 records (Problems) then you would want 14 pages?
Put another way,...
If the building had 200 rooms and each room had an average of 10 Problem/Records you would want 2,000 pages!?

If so then group by room as RemRemRem suggests, then set the "force New Page" property of the *Detail* Section to: After Section

Sample illustrating both techniques is attached.
Please verify

No points wanted if RemRemRem suggestion is what you wanted...
;-)

Jeff
db341.mdb
0
 

Author Comment

by:wlamore
ID: 35179974
boaq2000,
 Thanks for the file and clarification. Yes, I needed the rooms problems grouped together on their own page. We need to distribute the only the problems particular to each room, in hard copy form, to each room.
0
 

Author Closing Comment

by:wlamore
ID: 35179984
Thanks,
 Exactly what I needed.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35182549
;-)
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question