We have an ms access application and tables in that are linked with backend database SQL SERVER 2008
I used to manually link the access tables with SQL tables with the help of 'Table Link Manager' option. Now I want to do this programatically .
File DSN will contain belo information:
I need some VBA code that will manage reading the data in from the DSN file and then relink the tables using that data. Unfortunatley I don't know where to start. Can anyone help me through this? I'm willing to work at it.
I used to manually link the access tables with SQL tables with the help of 'Table Link Manager' option. Now I want to do this programatically .
File DSN will contain belo information:
Code:
[ODBC] DRIVER=SQL Server UID=user1 PWD=password1 DATABASE=MyDB APP=Microsoft Office 2005 SERVER=111.111.111.111,53314
Comment