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