Field Calculator syntax?

المشرف العام

Administrator
طاقم الإدارة
I can't get the syntax correct for a fairly simple if statement. Right now it looks like this:

dim Output as IntegerIf [HECTARES] >= 30 AND [HEIGHT] >= 17 AND [CROWN] >= 59 THEN Output = 1 ELSE Output = 0END IFI have no idea whether that's the correct use of "AND" but the expression wouldn't evaluate with only one expression (i.e. [HECTARES] > 30) either.

Thoughts?



أكثر...
 
أعلى