Syntax
| SQL.HandleBasicError ErrNum, ErrLine, ModName, ProcName[, ErrTxt][, ErrObj]
| ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description
| For displaying error messages during error handling in macros. Displays a TRADIUM error message dialog, also recording the error message in the error message log.
| ||||||||||||||
See Also
| |||||||||||||||
Example
| Sub Main() On Error GoTo CatchError Dim x As Integer Debug.Print 10 / x ' Devide by zero error Exit Sub CatchError: SQL.HandleBasicError Err.Number, 1, "My Demo.bas", "Sub Main", Error$ Resume Next End Sub | ||||||||||||||