4 Replies Latest reply: Apr 10, 2015 12:31 AM by nagarjuna k RSS

    Not equal not working?

    Scott Beeson

      The following expression works great:

       

      if((Color= 'Red') OR (Color = 'Green') OR (Color = 'Green'),Color)

       

      And I found somewhere that -= is NOT EQUAL.  However, the next code gives me an error:

       

      if((Color -= 'Yellow') AND (Color -= 'Purple') AND (Color -= 'Orange'),Color)

       

      The error is ") Expected"