Jump to content
JasperReports Library 7.0 is now available ×

2 subreports splitting. B subreport should start on the same page as A subreport.


Recommended Posts

Hi everybody,

I need your help. I am new to Jasper and can't find a way to fix my problem. I tried googling and went throught jasper community but still havent found any solutions.


I have 2 subreports in detail band and they are printed one on another. Problem is when it comes to spliting them into new page. First subreport should always be printed whole in same page so I set split to prevent. First subreport alway contains no more that 3-5 lines. Second one should be splitted since it can have from 1 to 90 lines and may take more than one page. So I set split to strech. Now I get a problem that some times  seconds' subreport first few lines are printed in first page since it takes less space than first subreport and I need to fix it that way that second subreport would start only when first one is printed. 

Please help me with this one.

Many thanks.



Link to comment
Share on other sites

  • 4 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...