Robert_Pryde Posted August 7, 2006 Share Posted August 7, 2006 Hi I need to display a barcode in the footer of my report only on the last page of a group, before the page resets. Any Ideas welcome. Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted August 7, 2006 Share Posted August 7, 2006 Hi Robert_Pryde, there is no way to predict the future in JasperReports... so it's not possible identify the "Last page footer of the group". A common workaround is to elaborate the result set by yourself to add special informations to each record (i.e. adding a flag that informs you which is the last record of the current group) and pass the new dataset to JasperReports to finally fill the report. Giulio Link to comment Share on other sites More sharing options...
Robert_Pryde Posted August 7, 2006 Author Share Posted August 7, 2006 thanks Link to comment Share on other sites More sharing options...
psratcliff Posted November 9, 2009 Share Posted November 9, 2009 Now that we have Last Page Footer does this help in identifying the last page? I don't want the column footer to print on the last page. Thanks,Paul. Link to comment Share on other sites More sharing options...
shibinthomas Posted November 9, 2009 Share Posted November 9, 2009 You can add a contional expression for the Print When Expression Part of Group Footer Band Properties as like, " new Boolean(($F{flg}.indexOf("1") > 0 ) ? true : false ) ". Then the last Grop Footer will not print. Shibin Link to comment Share on other sites More sharing options...
psratcliff Posted November 9, 2009 Share Posted November 9, 2009 When you say group footer do you mean column footer? I see lots of posts about group header and footer, but don't see anything with that name on my screen. 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