Keep a sub-report that contains severa sub-reports together on a report

SteveL13
SteveL13 used Ask the Experts™
on
I have a sub-report (call it main sub-report), that contains several sub-reports on a master report and want to keep the entire main sub-report together when the report prints.  I can't seem to find a way to do this.  In the detail section of the main sub-report I have Keep Together = Yes but its not working.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jim Dettman (EE MVE)President / Owner
Most Valuable Expert 2017
Most Valuable Expert 2012
Commented:
"Keep Together" is only a request to the report engine, not something that can always happen.

The best you can do is page break before the main sub-report and hope it all fits on one page.

Jim.

Author

Commented:
I wouldn't want a page break unless the entire sub-form wouldn't fit.
Distinguished Expert 2017

Commented:
As Jim said, this is a request.  You will need to play with sizes and spacing until you can make this happen.  Keep in mind that if any section grows, all bets are off.

Excel is far better for this type of formatting requirement.  If you are sure that the various subreports will normally fit in one page, you can export them to Excel and then select the whole page and use the shrink to fit feature to keep everything on a single page.

Author

Commented:
Apparently there may be no solution to this question.
Distinguished Expert 2017
Commented:
There is no good Access solution but You will have better control over Excel using a little OLE.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial