I am working on a program that is updating a local Access database (.mdb) using
OleDB. However, the Access Database has some linked tables using ODBC. When Access creates the linked table in Access the connection string looks like "DSN=DSNName;DATABASE=Database...
However, I want to be able to give this program away when done, so I want to be able to change the connection string from the Access linked tables to just "DSN=DSN Name" and then the DSN has the source definition for "DATABASE=" itself so it is not needed. This way, as long as the user establishes a connection with the same DSN it will work with the Access database linked table.
This was on Google Answers, but they closed before I got an answer (actually charged me the listing fee then closed the next day!).
2006-12-04
12:19:05
·
2 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design