ADO 2.5 API Reference

ActiveCommand Property

Indicates the Command object that created the associated Recordset object.

Return Value

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

Remarks

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.

See Also

Visual Basic Example |JScript Example | VC++Example | VJ++Example

Command Object

Applies To: Recordset Object

© 1998-2003 Microsoft Corporation. All rights reserved.