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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLL PASS SERVER AND DATABASE 1

Status
Not open for further replies.

RobCPA

Programmer
Nov 6, 2002
110
US
I've created a dll that contains a class module with Property Lets and Gets. I'm passing in the server and database string variables, but need to get these passed to standard modules within the dll so that I can open ADO connections for use in other standard modules. Can someone explain how to maintain the variable and get it passed?

Thanks!
Rob


 
You could make a global inside your standard module and set it inside the Property Let()
 
Sheco,

That worked - thank you!

Rob
 
Thank you too!

I been trying all day to get a star and the only one I got was for a stupid joke reply over in the VB forum!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top