RDS 2.5 API Reference

onError Event (RDS)

The onError event is called whenever an error occurs during an operation.

Syntax

onError SCode, Description, Source, CancelDisplay

Parameters

SCode
An integer that indicates the status code of the error.
Description
A String that indicates a description of the error.
Source
A String that indicates the query or command that caused the error.
CancelDisplay
A Boolean value, which if set to True, that prevents the error from being displayed in a dialog box.

See Also

Visual C++ Example

ADO Event Handler Summary

Applies To: DataControl Object (RDS)

© 1998-2003 Microsoft Corporation. All rights reserved.