MS ACCESS 2010 - ? dynamically link external tables ?

Posted on 2013-05-17
Last Modified: 2013-06-11
I'd like to be able do dynamically link to external tables in MS ACCESS 2010.

Consider a file structure like:


I'd like to be able to start myprogram.accdb and have an autoexec run some VB code to find all NN of the files in the INPUT folder
and dynamically link to them.

I want to be able to move the ENTIRE myApp folder to a new location and have it run there with no changes.

Question by:philkryder
  • 2
  • 2
  • 2
  • +1
LVL 21

Accepted Solution

Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 200 total points
ID: 39176447
Sure you can do what you want.

Herre is some code that will work: Link Tables: Re-Linking back-end (BE) database

also see: DB start up and BE relinking
LVL 39

Assisted Solution

als315 earned 150 total points
ID: 39177124
You can use Jstreet Access relinker:
updated version:
LVL 12

Assisted Solution

pdebaets earned 150 total points
ID: 39177303
Our free TableLinker utility may help:
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.


Author Closing Comment

ID: 39230602
no source code - just executable
LVL 39

Expert Comment

ID: 39231114
Jstreet relinker has source codes.

Author Comment

ID: 39239564
Thanks everyone!
I ended up building a VB launcher that finds the Newest FrontEnd program, copies it to Local profile, and then launches it with a /CMD  parm that points to the location of the backend database files. The front end then relinks all linked tables based on the parm.

Thanks much! Phil
LVL 21
ID: 39239601

Thanks for the update and your solution.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where is user Lync data stored 4 61
Sub Reports 8 23
command prompt wont close after executing batch file 11 37
subform is not filtered by link field 8 19
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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 …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

895 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

11 Experts available now in Live!

Get 1:1 Help Now