Jump to content

Condition in variable expression


foster

Recommended Posts

Hi.

I have string variable. In variable expression i have code below.

but this variable still returning null.

Pls. help. Thx.

Code:
("PôžiÄka_M1_L".equals($F{actypnazov})||"PôžiÄka_N1_L".equals($F{actypnazov})||"M1_99_L".equals($F{actypnazov})||"N1_99_L".equals($F{actypnazov}))?"1":"0"
Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

calculation type - none

values - string 1 if condition is true, 0 if condition is false

I use this variable in report in detail - in textfield.

But I didn't anything and condition started work properly.

Can it be because I set one textfield to be generated with parameter "report"?

 
 


Post Edited by foster at 08/25/2011 10:45
Link to comment
Share on other sites

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