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

Expression Editor Help?


raysefo

Recommended Posts

Hello,

 

What i want to do is, i have a field and if this field is NOT NULL, then count.

 

Here is the code below;

 

if($F{KISI_ID}.intValue() != null){

$V{count}.intValue()= $V{count}.intValue() + 1;

}

 

But it gives errors;

 

it.businesslogic.ireport.gui.logpane.ProblemItem@10e1ea8 Syntax error on token "(", ; expected Line 48, Column 23 /jasperReport/variable[1]/variableExpression[1] and

 

it.businesslogic.ireport.gui.logpane.ProblemItem@1feb264 Syntax error on token ")", delete this token Line 48, Column 23 /jasperReport/variable[1]/variableExpression[1]

Link to comment
Share on other sites

  • Replies 3
  • 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...