GJBDJC

Script IF statement

Discussion created by GJBDJC on Mar 28, 2017
Latest reply on Mar 28, 2017 by philmodjunk

Uggg... The simple stuff drives me crazy!

 

I have a script and within the script an IF statement, very simple:

 

IF (global field A = "X")

     Set Field (Field 1, gField1)

     Clear (Select; gField1)

End IF

IF (global field A /= "X")

     Set Field (Field 2, gField2)

     Clear (Select; gField2)

End IF

 

Everything works EXCEPT the CLEARs???

Outcomes