ron.liftc-e.com Posted October 6, 2021 Share Posted October 6, 2021 I have a pdf report with a group break on invoice numberI am using a group header breaking on invoicenumber. the header prints the invoice number, billing info, shipping info, etcWhen the detail overflows i just want to print "invoice number 123 continued", not the enter header to save space and identify this is not page 1 of the invoiceWhat logic can i use to identify the that this is not the first page of the group and how to I either add a new band or print the header without the blank space of the non printed fieldsI cannot post the company code so if you need sample code i will need to make a test appi see other post of group header suppression, no answers on the posts i found Link to comment Share on other sites More sharing options...
Solution bigalex Posted October 7, 2021 Solution Share Posted October 7, 2021 Page # by group:Page # evaluation time : now# Of pages evaluation time : groupSelect Reset page number in the group footter.2. Select group header and enter "new Boolean($V{PAGE_NUMBER}.intValue()==1)" into [Print When Expression]3. Make IF statement in the text field for pages: if # of pages > 1 then "invoice + {number 123}+ continued" else 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