ControlCondition Table, Feature Action State
Hello,
I'm trying to hide a control on a dialog based on the action state of a feature.
The ControlCondition reference...
https://msdn.microsoft.com/en-us/library/aa368035(v=vs.85).aspx
...links to the Conditional Syntax Page:
https://msdn.microsoft.com/en-us/library/aa368012(v=vs.85).aspx
So I would assume this should work just fine. However when I add the following into a ControlCondition Condiiton it does not appear to work:
&Server = 2
Where 'Server' is the feature and '2' is the action state for absent.
Using this condiiton within the ControlEvent table appears to work just fine, however.
I also checked by just adding a PROPERTY = Value set from the property table and it appears to hide the control just fine then.
Here is a Copy/Paste of the relevant row for reference:
(SQL_Dialog ctrl_SQLTCPPORT Hide &SQL = 2)
1 Comment
[ + ] Show comment
-
Odd, I seemingly can use &SQL=3 (3 being action state for present) and that works fine. I honestly don't understand why action state 2 does not work but if 3 works I'll just have to reverse the logic. - dreyer 9 years ago
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
9 years ago