oconnorjohnedward Posted September 11, 2020 Share Posted September 11, 2020 I have created a jasper report that is being currently fed XML data.Currently, in my header, I have details about the order. Ex: Order Number, Items in Order, Who ordered it, etc. In my Details band, I have data for each Order Line, ex: 5 of this item, 10 of this item, 1 of this.I need to do a page break on each class of items on an order line... so if 5 Order Lines have a class of Hazmat, they need to be printed together. And if I have 10 order lines that all have a class of Perishable, they need to be printed together. How can I do this? Thanks ahead of time. Link to comment Share on other sites More sharing options...
jgust Posted September 11, 2020 Share Posted September 11, 2020 You can group on the [ORDER ITEM] then set the 'Keep Together' property. If you have a group footer for the [ORDER ITEM] you may also want to set the 'Prevent Orphan Footer' to prevent the footer showing up on the next page due to space available. 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