Jump to content
We've recently updated our Privacy Statement, available here ×

(page)variable value issue in JasperReports


tgs

Recommended Posts

Hi,

in iReport 3.7.3 I need a variable "$V{max_page}" for my report, because fields should only be printed on the first page if there is a second. The preferences are:

$V{max_page}:
Var Class: java.lang.Integer
Calc: Highest
Reset type: Report
Increment type: None

Variable Expr.: $V{PAGE_NUMBER}
Initial Value Expr: new Integer(0)

But I don't get the value of the number of pages! What is wrong and how could I fix that problem?

 

Thomas



Post Edited by tgs at 02/07/2011 15:26
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...