onError (Event) Method (RDS)

   

This method is called whenever an error occurs during an operation.

Syntax

onError SCode, Description, Source, CancelDisplay

Parameters

SCode   An integer, which contains the status code of the error.

Description   A string, which contains a description of the error.

Source   A string, which contains the query or command that caused the error.

CancelDisplay   A Boolean, which if set to True, prevents the error from being displayed in a dialog box.