Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have several procedures that use ADO to connect to a
database and retrieve Recordsets. In each of these procedures I open a Connection, use some SQL to get the Recordset, then close the Connection. Since all of the procedures are using the same Connection to the same database, it seems I should be able to open the Connection once, have all my procedures use that Connection, then close and destroy the object when I'm done. My initial idea as to have a class module that I use to create that instance. But.... that's where I reach the cul de sac on my knowledge of this topic. Any help? tod |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
always recheck data connection library for latest connection strin | Excel Discussion (Misc queries) | |||
First Instance | Excel Discussion (Misc queries) | |||
How do I get rid of a 2nd instance (xls:2)? | Excel Discussion (Misc queries) | |||
how to make subs/procs can only be called from within the workbook they belong to? | Excel Programming | |||
Excel ADO connection opens read-only instance of opened Excel | Excel Programming |