sebpra Posted November 25, 2017 Share Posted November 25, 2017 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 More sharing options...
loyolafranklin67 Posted December 20, 2017 Share Posted December 20, 2017 No need to change any Strech type properties and all. Just increase your report height. 2nd subreports will be print in same page. if you want to print 2nd subreport into new page. just enable "Title On A New Page" property in 2nd subreport. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now