Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
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