Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a class setup to open all da

Status
Not open for further replies.

bmoyer23

MIS
Dec 5, 2001
46
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top