Operator '>' can not be applied to operands of type text and integer.

Operator '>' can not be applied to operands of type text and integer.

  


This is the error i get from an if statement condition. My data type is Integer(for year attribute)

Solution

Hi Billy,

According to the message your attribute might be of text type. You should convert the attribute from text to integer using the TextToInteger built-in function. 

Solution