I want to filter out a few ranges of data. I'm using the Filter tool with an IF/ELSEIF - but getting error.
What is wrong with this IF ELSEIF?
IF [Enc - MS DRG] >= 765 OR <= 795 THEN f
ELSEIF [Enc - MS DRG] >= 876 OR <= 897 THEN f
ELSEIF [Enc - MS DRG] >= 945 OR <= 946 THEN f
ELSEIF [Enc - MS DRG] >= 949 OR <= 950 THEN f
ELSE t ENDIF
Enc - MS DRG is data type of Double.
Error is:
Parse Error at Char (25): Malformed IFStatement