Using ADO to connect to back end database

J

JoeA2006

Does writing the VBA code to connect to a back end database mean one does not
have to link these tables to the front end?
 
P

Pat Hartman \(MVP\)

Yes. However, linking the tables provides certain benefits.
1. Speed - Access caches information about the linked tables which it would
otherwise need to obtain when you access the back end database.
2. Querydefs - Querydefs save execution plans when they are saved and the
plans are recomputed when the database is compacted. This minimizes front
end bloating caused by having to calculate execution plans on the fly each
time an SQL string is used rather than a saved querydef.
3. Ease of switching backends - When you use linked tables you can use the
Linked Tables Manager to switch from one back end database to another.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top