Solved

Change Access linked tables to Sql Server

Posted on 2013-10-22
2
897 Views
Last Modified: 2013-10-22
The current config is like this:
Access 2007 db DATA contains all the tables.
Access 2007 db APP has all the forms, queries, reports.

APP uses linked tables from DATA.

I used the SS Move Data tool to export the data from DATA to the SqlServer database. That went smoothly.

Now I want to update the links in APP to the Sql Server tables.  When I try to use Linked Table Manager it seems to only work on Access tables.

Is there an automated way to change the links from Access tables to SS tables?

Thanks,
Brooks
0
Comment
Question by:gbnorton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 39590810
Brooks,

 As a start, create a DSN in the Administrator tools of control panel (ODBC Manager).

  Make sure you can connect OK with the test button at the end of the configuration.  If not, do not proceed further until you get the problem corrected (ie. security).

Once you have a working DSN, then in Access you can link to the tables by choosing ODBC Datasource and then selecting the DSN.

 Once you have that working, you can convert to a DSN-less setup by doing the following:

http://www.accessmvp.com/DJSteele/DSNLessLinks.html

 Jim.
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 total points
ID: 39590815
The LTM will allow you to connect to the SQL Tables, just be sure you check "Always Prompt for new Location" when the LTM dialog appears.

However, I've had better luck removing the links, and then creating new links to the SQL tables. You can simply delete the links in the interface (you're just deleting the LINK, not the actual table), and then use the External Data - Import & Link - ODBC Database item to link to your new SQL tables.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question