ActiveCommand Property (ADO)
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.
Applies To
See Also
ActiveCommand Property Example (VB)
ActiveCommand Property Example (JScript)
ActiveCommand Property Example (VC++)
Command Object (ADO)
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for