If ELSE statement

By: Neil H - neilhay
If ELSE statement
2002-12-13 07:26
I am trying to write if/else statement and i am not very sure about the syntax. Any help will be great.

Here is my expression.

<variable name="SignOnF0" class="java.lang.Integer" resetType="Report" calculation="System">
<variableExpression>($F{FCT_ID}.intValue()==601 || $F{FCT_ID}.intValue()==604 )?(new Integer($V{SignOnF0}.intValue() + $F{F00}.intValue()))</variableExpression>
<initialValueExpression>new Integer(0)</initialValueExpression>
2006 IR Open Dicussion's picture
Joined: Aug 10 2006 - 3:24am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet