Solved

Change Access linked tables to Sql Server

Posted on 2013-10-22
2
885 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 57

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 84

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

756 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