Map restriction script
I have a field in my data source named _RECEIVED and I want to restrict the map to only accept fields with a non-Zero value.
I put in the following script for this:
I put in the following script for this:
if _RECEIVED <> 0 then return true else return false end if
When I try to validate I am advised that "Error in restriction: End of statement expected
What am I doing wrong?
Answers
You should not get any syntax error if you write the calculation in multiple lines:
if _RECEIVED <> 0 then
return true
else return false
end if
Regards,