cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Composer Expression Error

Former Member
0 Kudos

Hi Experts,

Whats wrong with the following expression?

1. IF(STORE@Year==2009,TRUE,FALSE)

2. IF(STORE@Year==2009,'TRUE','FALSE')

3. IF(STORE@Year=='2009',TRUE,FALSE)

They gave me the error: Expected boolean value/expression

Here's a screen shot of it. http://www.glowfoto.com/viewimage.php?img=10-181957L&rand=9359&t=jpg&m=05&y=2010&srv=img5

Any idea?

Thanks in advance.

Regards,

Sarah

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You need boolean expression for executing this condition. Crrect syntax for this is -

BOOL(IF(STORE@Year==2009,TRUE,FALSE)).

Try with this expression.

Regards

Sandeep

Answers (0)