Solved

Reconnect Table Dialog

Posted on 2008-10-11
2
230 Views
Last Modified: 2013-11-29
I want to make a form can relink the table when it startup, if the data source is change or can not find then pop up the open dialog to find the data source and reconnect the table!  How to do that?
0
Comment
Question by:Uncochen
2 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
Comment Utility

  I'm attaching a relink sample database.   Code is called in the Autoexec.  Once of the tables is checked and if able to connect, the rest of the code is skipped.  If not, then the open dialog is popped up asking for the location of the back end database.

Enjoy.

JimD.
Relink2.Zip
0
 
LVL 26

Expert Comment

by:dannywareham
Comment Utility
See here too
http://www.mvps.org/access/tables/tbl0009.htm

Same meat, different gravy as Jim's
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
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…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

762 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

9 Experts available now in Live!

Get 1:1 Help Now