skuda Posted June 9, 2015 Share Posted June 9, 2015 Hello, I am using jasperreports 6.1.0. I am creating a label for a product using a report, all the information goes in the detail band, but this problem is reproducible no matter what band I use. I have a main query that get the basic information about the product and a subdataset that get a list of features of the product, from 1 to 3. If the product have more than 1 feature the final report has an extra blank page at the end. I have 108px available and the list element has a height of 33px, the two text elements that the list contain sum 33px too, everything has the correct size. I have tried all the tricks I have been capable of imagine, disable pagination on report (I get blank space after the label), play with the stretch values of list or the contained textfield elements, to use a printwhenexpression checking for the first page, nothing works. I would like to avoid the need to create a subreport but I am getting out of ideas, could anyone help me please? Thanks. Regards, Miguel. Link to comment Share on other sites More sharing options...
skuda Posted June 10, 2015 Author Share Posted June 10, 2015 It seems that using a subreport doesn't fix the problem, at the time I will manually delete the last blank page. 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