The On Change property determines the name of the macro to fire when the value of the control changes.
Property Type: Static
Default Value: null
Hierarchical Reference: ControlName.OnChange
See Current Macro Event Argument, in the topic Info: Special Variables for more information.
Ensure the property is a static property (It will display the gray orb alongside the property name)
The default value of the static property can be changed by:
On Change Value (Static) | Result |
---|---|
SetCurrentMacroEventArgument | When the value of the control changes the macro SetCurrentMacroEventArgument will run. |
A rule can also be built for this property by changing the type to dynamic.
See How To: Change A Static Property To A Dynamic Property.
On Change Value (Dynamic) | Result |
---|---|
IF(VLookup("NewValue", DWCurrentMacroEventArgument, 2, FALSE)= TRUE, "SetValue","") | When the value of the controls NewValue is TRUE the macro SetValue will run. |
Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.