|
|
|
|
|
- HFSQL error numbers
- Managing the sub-errors
HError (Function) In french: HErreur
Not available with this kind of connection
Returns the number of the last error triggered by the HFSQL engine. Remark: This function must be called just after the function that failed. Calling a function other than an error function can reinitialize or change the status report returned by HError.
IF HCreate(Customer) = False THEN
Error("HFSQL error: " + HError())
END
Syntax
<Result> = HError([<Type of error>])
<Result>: Integer - Number of the last error that occurred.
- hNoError constant (set to 0) in the following cases:
- No error occurred.
- The requested type of error corresponded to a sub-error but no sub-error occurred.
<Type of error>: Optional integer constant. Used to retrieve the numbers of sub-errors. | | hErrCurrent (default value) | Number of the current error. | hErrMain | Number of the main error. | hSubErrFirst | Number of the first sub-error. | hSubErrLast | Number of the last sub-error. | hSubErrNext | Number of the next sub-error. | hSubErrPrevious | Number of the previous sub-error. |
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|