show / hide menu

Clear

This function is used to clear the values from the controls in the form. This function can also be used to clear the values from specific control/controls in the form.

Syntax :

Clear() , Clear(ControlName), Clear(ControlName1, ControlName2, …n)

If we use the function Clear(), it will clear the values entered in all the controls in the form. If we use the function as Clear(ControlName), then it will clear the value in the control name. If we use the function as Clear(ControlName1, ControlName2, …n), then it will clear the values in all the controls passes as coma(,) separated values.

Examples :

Clear()
Clear( TextBox1 )
Clear( TextBox1, TextBox2, TextBox3, ComboBox1 )

Note : Each time a value changed in the control will trigger any rule associated to a control during the value change event. But if you use the clear function to wipe out the value in the control, then it makes a silent wipe out of data and will not trigger the associated rules for the control.