How to refresh linked tables in an Access mdb when ODBC changes

Posted by beta tester ben on Stack Overflow See other posts from Stack Overflow or by beta tester ben
Published on 2009-02-19T07:19:43Z Indexed on 2010/04/29 6:07 UTC
Read the original article Hit count: 530

Filed under:
|

I can create an Access mdb and add a linked table to an Sql Server database via ODBC. If I change the Sql Server that the ODBC is connecting to with the ODBC control panel applet the mdb still connects to the original Sql Server until Access is restarted.

Is there a way to relink these linked server tables without restarting Access?

EDIT: I would like to do this in code

© Stack Overflow or respective owner

Related posts about ms-access

Related posts about odbc