Skip to content
+1-888-319-3663

COMMUNITY FORUM

Syntax error in calculated field

Tracy asked 6 years ago
Hi,
 
I created a calculated as follows :
 
if(_GT_AMOUNT > 0)
return _GT_AMOUNT
else 0
End If
I am receiving 2 syntax errors in this calculation.  What is wrong ?
 
Thanks 
Answers
patrick answered 6 years ago
Tracy,
it should be
return 0
and not just 0.
patrick

If you would like to submit an answer or comment, please sign in to the eOne portal.