Hi guys,
For button's display mode, why we cannot determine its display mode by some condition ?
I put something like this :
if (CurrentRecord.Posted = true, DisplayMode.Disabled, DisplayMode.Edit)
The "CurrentRecord" is my variable table (record) which the field "Posted" is Yes/No (true/false), I want to disable that button if my data identified as Posted = Yes.
Currently there is an error saying like this :

Thanks