ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
True if the operation was successfully performed,False otherwise. HError returns more details about the problem.
Name of data file used.
Type of error to configure.hErrDatabaseAccessConfigures the access errors to an HFSQL Client/Server database (access forbidden by HNoDatabaseAccess).
This constant is not available.hErrLockConfigure lock errors.
This constant is not available.hErrDuplicatesConfigure duplicate errors.
This constant is not available.hErrIntegrityConfigure integrity errors.
This constant is not available.hErrModifyConfigure a modification conflict.
This constant is not available.hErrPasswordConfigure password errors (wrong password).
This constant is not available.hErrConnectionLossConfigure the errors caused by a loss of connection with the HFSQL server.
hErrIndexConfigures indexing errors (reindexing in progress during the file access).
This constant is not available.hErrNeedValueConfigure errors caused by a required value that has not been specified (OLE DB and some Native Connectors).
This constant is not available.hErrAllConfigure all previous errors (except hErrIndex).
This constant is not available.
Corresponds to: Name of object method if <Source>.OnError is called in a method of this object. Versions 20 and later Name of procedure to call when a <Type of error> error occurs. New in version 20 Name of procedure to call when a <Type of error> error occurs. Name of procedure to call when a <Type of error> error occurs. Parameter not specified. If "Enable the automatic HFSQL help" is checked in the project, the default window or page for automatic management of errors is used for the specified type of error and for the specified data file.Empty string. In this case, the automatic management of errors will be disabled.Remark: To disable the automatic management of errors, you also have the ability to uncheck "Enable the automatic HFSQL help" in the project. Remark: In some cases (loss of connection errors for example), the procedure/window/page will be run during the next call to the WLanguage function following the event that triggered the error.
Special case: using a window, a page or a procedure found in a component: The following syntax must be used:Procedure:
<Data file>.OnError(<Type>, ... "<Component>.<Name of set of procedures>.<Procedure name>")
<Data file>.OnError(<Type>, "<Component>.<Window name>")
<Data file>.OnError(<Type>, "<Component>.<Page name>")
If a loss of connection occurs, to ask for reconnection, this procedure must call HReconnect.
Operating mode of custom errors
Using a class method to customize the errors
Customizing the default error windows
Customizing the default error pages
Last update: 09/23/2020
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: