Solved

Change Access linked tables to Sql Server

Posted on 2013-10-22
2
843 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
2 Comments
 
LVL 57

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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 …

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now