Jump to content
JasperReports Library 7.0 is now available ×

Using arithmetic oprand in iReport?


p_a

Recommended Posts

Hello,

 

I want to use print experssion in my reports:

 

( $V{salary}>0 ? "test1" : "test2" )

 

but I got this problem :

 

"The operator > is undefined for the argument type(s)

Long, int"

 

How can I use arithmetic oprand in this expression?

 

How to hide an field in iReport conditionally.

 

Please help me to solve my problems.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...