Hi,
Why do you have a 'then' clause in the expression? You would only expect to see this as part of an if-then-else statement, but I'm not seeing an 'if' or an 'else'? If you really are using an if-then-else, you would need to use parentheses also
if (<something>)
then (<some expression>)
else (<some other expression>)
Overall, the expression doesn't seen to make sense. The first line evaluates to a true/false result so maybe it should be preceded by an 'if'? If that's true, you would need parentheses around it, plus an open parenthesis following the 'then', and a close parenthesis following the final 'end'. You would also need an 'else' (with an expression in parentheses).
Is this a subset of a larger expression?
Cheers!
MF.
------------------------------
Mark Fry
Technical Consultant
------------------------------
Original Message:
Sent: Thu April 25, 2024 04:16 PM
From: Christina Funk
Subject: Short Date to YYYY-MM Expression
Hello,
I copied an expression from a working component but get a not valid error. Am I overlooking something?
Here is the full expression:
------------------------------
Christina Funk
------------------------------