How to convert "Office Data Connection (.odc)" to "ODBC File DSN (.dsn)"?

HerrSober

New Member
Joined
Aug 30, 2013
Messages
40
I have a server to which I access my data. Let's call it 190.250.65.210.

To get data from this in Access I do this:

1. Click on the "ODBC Database"-import Tab in Access
2. Then choose"SQL Sever" (from the listbox-menu) as Driver
3. And type in the Server: 190.250.65.210
4. I then press next and choose "Change the default database" to "GuitarSales" on the next screen

With this option I can retreive several of my tables.

But I also have a another Table which I at this moment only get to retreive in Excel using a "Office Data Connection" (.odc).

Lets the database I want to retreive: "myrequesteddatabase"

I want to convert this connection type so that I can import it into Access (if this is possible at all).
In Excel, where this connectionstring is currently used, this is the information:

Code:
Connectionstring: (only containing information I understand)
Provider=SQLOLEDB.1
DataSource=[B]190.250.65.210
[/B]Initial Catalog=[B]GuitarSales
[/B]

Code:
Commandtext: GuitarSales.dbase.[B]myrequesteddatabase[/B]

As you can see the two tables have much in common. Is it possible to rewrite this somehow to be importable in Access?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,214,789
Messages
6,121,605
Members
449,038
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top