If Statement for Exclusive

0
Hi all, i have the following if statement for an exclusive split. Unfortunately, none of the following versions works: formatDateTime($WOHead/ShipmentReady,'EEE') != 'Sat' OR 'Sun' (formatDateTime($WOHead/ShipmentReady,'EEE') != 'Sat') OR (formatDateTime($WOHead/ShipmentReady,'EEE') != 'Sun') Any ideas?
asked
1 answers
1

What exactly is the problem, does the split throw an error, is the result not what you expect or is it something else? Looking at your code, I would say the following:

Your first one appears to be syntactically invalid.

Your second one is aways true. Either change both '!=' to '=', or change the OR to AND.

answered