Default Collection Items

As you may recall from Chapter 6, an object's parent collection can have a default member that you can refer to. The following table lists the default members for those ADO objects that have them.

Object library

Collection

Default member

Example

ADODB

Command

Parameters

cmd(0)

Record

Fields

rcADO(0)

Recordset

Fields

rsADO(0)

ADOX

Catalog

Tables

cat(0)

Table

Columns

cat.tables(0)(0) cat(0)(0)

0 0

Post a comment