views:

653

answers:

3

I have two reports that are setup with the same page dimensions- A4 portrait, with page margins of 1cm.

When I run the reports seperately and print them they both come out as expected: fitting into the width constraint of the page.

However, when I include one report as a subreport in the other and then run and print the "master" report I start to experience problems. Even though both reports appear I get extra blank pages appearing every other page in the output.

I'm sure I'm missing a simple trick - probably with the page sizes of the two reports but I can't figure it out - any pointers?

I don't mind changing the setup of the subreport as it will never be run as a seperate eport in the wild, I only included that step to prove that it did indeed fit within the page!

A: 

There is probably an overhang somewhere with your page size or margins that is causing it to spill over into blank pages. They can be infuriating to find sometimes.

TheTXI
Even though the two reports (both the master and sub) will print correctly when run individually?Should the page size of the sub report be smaller than, or the same as the master report?Thanks
What we'll usually do is something like this:subreport:page size = body size = body size of master reportno marginsmaster:page size = _____margins = ____body size = page size - margins
Dan Sydner
A: 

See page 12 of this document (.doc download) : http://tinyurl.com/5pxzeq

MarlonRibunal
Might be worth mentioning that it is a word document... a very good one though.
Dan Sydner
wink...*(.doc download)* wink.wink.
MarlonRibunal
+1  A: 

One thing that might help is to set your right margin to 0 in your master report. I've noticed this myself with a subreport that appears correctly in a master report, and adding it as a subreport in another master causes it to insert extra page breaks. I agree with TheTXI, its very frustrating, I wish they had a debug/inspection mode like firebug does for web pages.

Edit: Also you should check your fields to make sure they aren't set to expand automatically (unintended). Right click, properties, set .CanGrow = False

Snives