i use ireport 5.0.0 , have problem using variable $v{page_number}.
i wish use variable $v{page_number} evaluated "now" , evaluated "report" in same expression of text field. need compare current page total number of page in conditional expression.
example in page 1: want print "to con't page 2", , on. , in last page want print "the grand total : ".
please me solve problem.
i don't think can't have text field both evaluation times. problem can solved on 2 ways:
use band summary: summary band shown on last page here can enter "the grand total : " don't forget mark page footer band not pintet on last page (by print when expression)
you can make 2 textfields , lay them on each other. have fill print when expression text 1 printed on every page , summary printed on last page.
Comments
Post a Comment