If {OPOR.TotalExpns} = 0 Then "NIL"
else
IF {OPOR.TotalExpns} > 0 Then {OPOR.TotalExpns}
views:
22answers:
1
+1
A:
The return value is different for each of the condition.
If {OPOR.TotalExpns} = 0 Then "NIL" 'here you are returning a string
else
IF {OPOR.TotalExpns} > 0 Then {OPOR.TotalExpns} 'here you are returning a number
This is what you could be looking for
IF {OPOR.TotalExpns} > 0 Then CSTR({OPOR.TotalExpns})
shahkalpesh
2010-03-26 07:14:12