Solved

Starting each sub report on a new page

Posted on 2014-04-23
9
822 Views
Last Modified: 2014-05-08
Hi
Using Access 2010. I have a main report, with five sub reports. Each sub report has four reports in it. Lets call these "Section Reports". The four reports can vary, the logic for selecting which four is in the sub report.
I want each section report to start on a new page. I am aware that page breaks do not work in sub reports. And I don't want to move all the logic into the main report. So I came across a solution on Experts Exchange - Use Sections
The solution states you should use Force New Page in the Group. I've tried this, but its not working for me, there is no new page. I've attached a screenshot of my settings.
Any ideas on how I can get around this?
Thanks
0
Comment
Question by:jdhackett
  • 5
  • 2
  • 2
9 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 40017279
You didn't attach your screenshot.

The four reports can vary, the logic for selecting which four is in the sub report.
What do you mean by "selecting"? Do you mean that your subreport would only show one of those sub-subreports? Or that it could show one or more of them?

Have you tried the group at the first subreport level? That is, not the main report (that houses your first level of subreport), but in that first level of subreports?
0
 
LVL 1

Author Comment

by:jdhackett
ID: 40017392
I've attached it now, thanks.
The sub report could show between one and four of the sub-sub reports.
The New Page on the Grouping does seem to work better if I try it at the first level of sub report. It would be handier if the grouping New Page  worked at the lowest level though. Is that possible?
GroupHeader.JPG
0
 
LVL 34

Expert Comment

by:PatHartman
ID: 40018662
Access has a page break control and that might solve the problem.  Add the control between the subreport controls to force a page break at that spot.  I haven't tried this so I'm not sure how it will work if any of the subreports go more than one page in length so please test thouroughly.
0
 
LVL 1

Author Comment

by:jdhackett
ID: 40026847
Hi Pat
Page breaks don't work on sub reports. As I mention above, this is why the other Experts Exchange article suggest using section breaks.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 34

Expert Comment

by:PatHartman
ID: 40027432
I wasn't referring to the page break property.  I was referring to the page break control.

Page Break control
0
 
LVL 1

Author Comment

by:jdhackett
ID: 40027452
I know. Page break controls have no effect if its in a sub report.
0
 
LVL 1

Author Closing Comment

by:jdhackett
ID: 40037542
Never followed up on my additional question.
0
 
LVL 84
ID: 40038275
Was your question answered? I don't think it was, and my comment was more of a shot in the dark than a solution.

If the comment didn't resolve your question then you should just delete it. You shouldn't award us points if we didn't help.
0
 
LVL 1

Author Comment

by:jdhackett
ID: 40050722
Hi Scott
I figured it out from your post, so you deserve some points. Using the Group on the first level of sub reports only.
Regards
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Outlook Free & Paid Tools
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

919 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now