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
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
0 Answers:
No answers yet