Hello I am trying to run this statement in a INDB Formula tool but keep receiving the following error, does anyone have any suggestions on what I may need to correct?
IF LEFT(["SN"],3)="CAT" AND Length(["SN]")=17 THEN RIGHT(["SN"],8) ELSE ["SN"] ENDIF
Error: Formula In-DB (167): Error SQLPrepare: SQL compilation error:syntax error line 4 at position 4,044 unexpected '('.
Thank you.