THE WORLD'S LARGEST WEB DEVELOPER SITE

ADO ActiveCommand and ActiveConnection Properties


❮ Complete Recordset Object Reference

ActiveCommand

The ActiveCommand property returns a variant that contains the Command object associated with the Recordset object.

Note: If the Recordset object was not created by a Command object, Null is returned.

ActiveConnection

The ActiveConnection property sets or returns a string or variant that contains the Connection object associated with the Recordset object. If the connection is closed, this property sets or returns a definition for a connection.


Syntax

objRecordset.ActiveCommand

objRecordset.ActiveConnection

❮ Complete Recordset Object Reference