Okay its fine, try with this also

Reset type = none
Increment type = page

Thanks,
Santhi



On 4/10/07, losangeles <[EMAIL PROTECTED]> wrote:


Is there a way I can create a variable that increments by 1 for every new
page. I have set the "Initial Value Expression to new Integer(0)"  ("Reset
Type = page", and Calculation Type = System")  and the "Variable
Expression"
is equal to  "new Integer( $V{CURRENT_PAGE}.intValue() + 1)". The result
remains at 0 after each new page and never increments. Can this be done?


Thanks in advance.

LosAngeles
--
View this message in context:
http://www.nabble.com/Incrementing-a-variable-by-1-tf3552316.html#a9917483
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jasperreports-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jasperreports-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to