2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Muralidhar bp - pmurli Grand Total only in the last page 2003-04-03 23:28 Hello, It is very urgent..... I have given the report count in the column footer, where in will print the TOTAL in all the pages. But I want the TOTAL to be printed in the last page. My code is ..... <columnFooter> <band height="30"> <textField isBlankWhenNull="true"> <reportElement x="675" y="5" width="100" height="18" mode="Opaque"/> <textElement textAlignment="Left"> <font reportFont="Gothic_Bold" size="14"/> </textElement> <textFieldExpression class="java.lang.String">$P{ColFooterTotal}</textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement x="775" y="10" width="25" height="18" mode="Opaque"/> <textElement textAlignment="Left"> <font reportFont="Gothic_Bold"/> </textElement> <textFieldExpression class="java.lang.Integer"> ($V{REPORT_COUNT} != null)?($V{REPORT_COUNT}):(new Integer(0)) </textFieldExpression> </textField> </band> </columnFooter> Thanx in advance. Rgds Murli By: Teodor Danciu - teodord RE: Grand Total only in the last page 2003-04-04 02:28 Hi, Use evaluationTime="Report" for your text field, so that it displays the value calculated at the end of the report. I hope this helps. Teodor 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