"erick-flores" <er**********@gmail.comwrote
I have been trying to look for the answer to my question doing some
search in the groups but no luck. I have linked a table using ODBC.
Then I made a copy of the link table to my local computer (so my
queries can run faster, it was paintful slow with the link table).
Everything works fine but the link table changes everytime (it is an
Invoice table). What I want is a way to automatically update my local
table with the link table everytime I open the database. What is the
best solution for this?
Well-thought out designs and user interfaces often work just fine with
linked ODBC tables. Copying entire tables, or multiple tables, is rarely
the best solution for "painfully slow"... because you are often retrieving
vastly more records than you will access during the session.
Thus, I hesitate to offer suggestions for good/better ways to do something
that might well not be the way the problem should be addressed, but for what
it's worth: You'd put the code in an event of the Form you specify in the
Startup Parameters... on the menu Tools | Startup. But, I caution, you'd be
better to describe your situation in some detail because someone may have a
much better suggestion.
My experience with ODBC links to server DB tables has been that they were
surprisingly efficient, if you didn't "go out of your way" to force them to
be INefficient.
Larry Linson
Microsoft Access MVP