I have a class setup to open all database connections... with the connection stored in a property procedure. To be able to use these connections outside the class, I'd like to be able to do a property get.
Is this possible? Is anyone doing something similar?
Property Get Connection() As ADODB.Connection
Set Connection = New ADODB.Connection
Connection = c_cnConnection
End Property
Is this possible? Is anyone doing something similar?
Property Get Connection() As ADODB.Connection
Set Connection = New ADODB.Connection
Connection = c_cnConnection
End Property