Name

Error.Source Property — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

                     source = error.Source

The Source property returns the name of an object or application that generated an error within ADO.

Datatype

The Error object returns a String.

Description

For the Errors object, the Source property indicates the name of the object or application that originally generated an error within ADO.

ADO errors will have a source value beginning with the value ADODB. followed by the name of the object that generated the error.

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.