Name

Errors Collection — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

Set errors = connection.Errors

See the Error Object for more information and examples pertaining to the Errors collection.

Objects

Error

Contains information regarding a particular error or warning that was raised by ADO during an operation.

Methods

Clear

The Clear method erases all errors stored in the Errors collection.

Refresh

The Refresh method of the Errors collection is an undocumented method of ADO that has been around since Version 2.0.

Properties

Count

Indicates how many Error objects belong to the associated Errors collection.

Item

Accesses a particular Error object belonging to the Errors collection.

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.