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
Solved

Change Access linked tables to Sql Server

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

792 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