In order to use a certain password-protected ODBC connection, I first run a Pass-Through query against one of the tables. Once the Pass-Through query is run I can use linked tables in my Access db without concerning myself with the password protection.
I've set up the Pass-Through query (we'll call it ConnectionQ) in my Access db and call it like this:
dbDBase.OpenRecordset "ConnectionQ"
Where does that recordset go? Do I need to worry about a recordset object that might be floating around in my stack space? or does it get created and destroyed all in one operation? It is a SELECT query as I'm unable to run any action queries against the ODBC db.
I've set up the Pass-Through query (we'll call it ConnectionQ) in my Access db and call it like this:
dbDBase.OpenRecordset "ConnectionQ"
Where does that recordset go? Do I need to worry about a recordset object that might be floating around in my stack space? or does it get created and destroyed all in one operation? It is a SELECT query as I'm unable to run any action queries against the ODBC db.