Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

ActiveCommand Property (ADO)


Indicates the Command object that created the associated Recordset object.

Returns a Variant that contains a Command object. Default is a null object reference.

The ActiveCommand property is read-only.

If a Command object was not used to create the current Recordset, then a Null object reference is returned.

Use this property to find the associated Command object when you are given only the resulting Recordset object.

© 2015 Microsoft