Zlatko sent this question to my email address. Zlatko, please post
questions and answers to the newsgroup so anyone else with the same
question or a better answer can find the information.
From Zlatko:
Thanks for answer.
What happens when an Access aplication with linked tables are closed?
Does "connection pooling" connections close as well?
Greetings,
Zlatko
---------------------------
To the best of my knowledge (and with an obvious logical assumption),
all connections close when Access closes. Links to Access and dBASE IV
tables reopen automatically when Access is opened. A coworker is
working on an Access front-end with a PostgreSQL back-end right now,
and we've found that the connection to PostgreSQL does not
automatically reopen when Access is opened. Instead, the connections
are reestablished the first time someone tries to access the linked
data. I'm assuming this is because of ODBC. Note that we had to
authenticate for every table that was linked programmatically (i.e. 20
tables linked, 20 credential requests) before we tried connection
pooling in the connection string. Your user will still have to
authenticate after the Access application is opened when he (through
the program) attempts to access linked data.
We have not yet found a way to cause the ODBC connection to
automatically resume when the database is opened, so instead we have
placed code that accesses a small amount of linked data when the
application is opened. This causes the authentication process to
initiate, and the user only has to auth once for the duration of their
usage of the application.