ActiveCommand - property of the AdoRecordset object
Description:
Returns the
Command object associated with the
AdoRecordset object.
If the
Command object was not used to create the current
AdoRecordset, then a
null object reference is returned. Use this property to find the associated
Command object if you are given only the resulting
AdoRecordset object.
Syntax:
Variant ActiveCommand
Note:
Property access for read only.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oCommand = oRs.ActiveCommand;
// Reading from the property
Dim oCommand
oCommand = oRs.ActiveCommand
' Reading from the property