ADO ActiveConnection Property
❮ Complete Record Object Reference
The ActiveConnection property sets or returns a string or variant that tells which Connection object the Record object belongs to.
If the connection is closed, it sets or returns a string definition for a connection. If the connection is open it sets or returns a variant that is a reference to the current Connection object.
Tip: The ActiveConnection parameter of the Open method of the Record object can also be used to set this property.
Syntax
objrecord.ActiveConnection
❮ Complete Record Object Reference