Skip to Content
0
Former Member
May 16, 2008 at 08:47 AM

How to disable a button by using conditions

40 Views

Hi all,

I've got a table with a field "Status" and a field with a button. If there is a value "Available" in the "Status" field

the button has to be enabled. If not it has to be disabled.

At the properties of the button I have chosen "Disabled" and entered the condition.

The condition is: 'IF(@Status == "Available",false,true)'.

But there is an error message: 'Expected boolean value/expression'.

How is the right syntax to do so?

Thanks in advance

Kind regards, Frank.