Jump to content
We've recently updated our Privacy Statement, available here ×

Sub-report Keep Together


cjsmith411

Recommended Posts

 I have a Master Report with multiple subreports. For small result sets, it looks great since it all fits on one page.

However, once my result set gets moderately large, some of the subreports break across the page boundary in the middle of the sub-report (even though that sub-report could itself easily fit within a page). I don't want to just add a page break, since I'd like the report to stay on one page when it can.

How do I get apply "keep together" functionality to a sub-report? Or, alternately, how do I conditionally page break before a sub-report that can be of variable height?

P.S.: Using iReport v4.1.1



Post Edited by cjsmith411 at 04/26/2012 14:56



Post Edited by cjsmith411 at 04/26/2012 14:57
Link to comment
Share on other sites

  • 3 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

majesticjg
Wrote:

 Did you ever resolve this issue? I'm also working on the same thing.

 

 

Yes and no. For the time being, we're Ignoring Pagination on the Master report. This effectively forces all subreports to appear on one page, no breaks. It's fine for a relatively limitted amount of data, but once the row count starts to grow, printing it out is troublesome.

Incidentally, we have since upgraded to v4.5.1 but there's no improvement there relative to this particular issue.

CJ

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...