Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 22nd, 2007, 12:05 PM
Authorized User
 
Join Date: Feb 2007
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default re-link tables in a .mde when .mdb does not exist

Does anyone know a way to re-link the tables in a .mde database to a new location?
The server where the table were in, is no longer used
and the .mdb file does not exist any more.
or Can you strip out the objects from a .mde into a new .mdb?

 
Old February 22nd, 2007, 12:49 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

If you create a new mdb file and then select Insert > Table > Import, you can pull in tables and queries, but nothing else. You can't use the linked table manager from within the mde. You can link new tables from within the mde.

So what you should do is to open the mde, hit f11 to open the database window if it isn't open, then select Insert > Table > Link Table, and link the tables from their new location. And delete the old tables. Use a COPY of the mde to try this with.

HTH


mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
loop through tables inside .mdb file using VB.NET remya1000 General .NET 3 September 24th, 2007 12:45 PM
Query to extract data from 2 tables of .mdb file Subuana Beginning VB 6 6 March 16th, 2006 04:37 PM
Open mde or mdb access file from vb6 gorgo Pro VB 6 1 February 20th, 2006 01:39 AM
Link Tables thru VBA Rchanga Access 1 November 20th, 2004 11:06 AM
Deleting tables in Access Database, if they exist mckly Pro VB Databases 1 August 25th, 2004 11:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.