Name

Errors.Item Property — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

Set error = errors.Item(Index)
Set error = errors (Index)

The Item property accesses a particular Error object belonging to the Errors collection.

Datatype

Error object

Description

The Index placeholder represents a Variant datatype that represents the ordinal position of an Error object within the Errors collection. If the Errors collection does not contain the item requested, an error is generated.

Note

Some languages do not support the Item property in its first syntax. For these languages, use the second syntax, without the Item method name.

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.