ADO ActiveCommand and ActiveConnection Properties

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

Goto Recordset Object Complete Reference
Share this article :
 
Copyright © 2012. Best Online Tutorials | Source codes | Programming Languages - All Rights Reserved