show / hide menu

GetError

This Function is used to get the error and control name whenever an error is thrown.

Syntax:


GetError(Control/Variable,SuppressError)
where
Control name/Variable name to get where the error has thrown
SuppressError True means error will not be shown (Optional Argument)

Example:
TextBox1.Value=GetError(Control/Variable,false)

This GetError function can be written on default ErrorHandler trigger so that, any error thrown in the form will be visible in the TextBox1 control.