A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Keeping data together across pages in a report



 
 
Thread Tools Display Modes
  #1  
Old May 1st, 2009, 03:58 PM posted to microsoft.public.access.reports
pruckelshaus
external usenet poster
 
Posts: 2
Default Keeping data together across pages in a report

I have an Access 2007 report. It displays counts of students by graduation
year, and is grouped by teacher...something like this:

Teacher name
2010 3
2011 4
2012 3
2013 3
Total: 13

There are 85 teachers, so the report spans a dozen or so pages. Now, even
though I have "Keep together" selected in the property sheet of each section
of my report, there are page breaks in the middle of each section. How do I
absolutely, positively force everything between "teacher name" and "total" to
stay together on teh same page without forcing a page break after each
teacher's section?

Thanks

Pete
  #2  
Old May 1st, 2009, 04:13 PM posted to microsoft.public.access.reports
Allen Browne
external usenet poster
 
Posts: 11,706
Default Keeping data together across pages in a report

In report design view, open the Sorting And Grouping pane, and select the
group based on the Teacher field.

You will see an option in the Sorting'n'Grouping pane (not in the Properties
box), for:
Keep whole group together on one page.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"pruckelshaus" wrote in message
...
I have an Access 2007 report. It displays counts of students by graduation
year, and is grouped by teacher...something like this:

Teacher name
2010 3
2011 4
2012 3
2013 3
Total: 13

There are 85 teachers, so the report spans a dozen or so pages. Now, even
though I have "Keep together" selected in the property sheet of each
section
of my report, there are page breaks in the middle of each section. How do
I
absolutely, positively force everything between "teacher name" and "total"
to
stay together on teh same page without forcing a page break after each
teacher's section?

Thanks

Pete


  #3  
Old May 1st, 2009, 04:19 PM posted to microsoft.public.access.reports
John Spencer MVP
external usenet poster
 
Posts: 533
Default Keeping data together across pages in a report

Group by teacher name and then set the group's Keep Together property to Whole
Group.

You set the grouping using the Sorting and Grouping Dialog (View: Sorting and
Grouping ...)

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County

pruckelshaus wrote:
I have an Access 2007 report. It displays counts of students by graduation
year, and is grouped by teacher...something like this:

Teacher name
2010 3
2011 4
2012 3
2013 3
Total: 13

There are 85 teachers, so the report spans a dozen or so pages. Now, even
though I have "Keep together" selected in the property sheet of each section
of my report, there are page breaks in the middle of each section. How do I
absolutely, positively force everything between "teacher name" and "total" to
stay together on teh same page without forcing a page break after each
teacher's section?

Thanks

Pete

  #4  
Old May 1st, 2009, 04:23 PM posted to microsoft.public.access.reports
pruckelshaus
external usenet poster
 
Posts: 2
Default Keeping data together across pages in a report

Brilliant, thanks!
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.