English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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

2 answers

Why not just change your code to use the ODBC provider, and specify ODBC in your DSN? That seems to be the obvious solution.

2006-12-04 15:09:15 · answer #1 · answered by Anonymous · 0 0

do you evenu need know your IP address? If not you need to call someone to your place and fix it

2006-12-04 12:21:36 · answer #2 · answered by Juleette 6 · 0 0

fedest.com, questions and answers