Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > Tables

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-13-2006, 06:42 PM
g28dman g28dman is offline
Registered User
 
Join Date: Nov 2005
Posts: 81
g28dman is on a distinguished road
ReLinking tables through the use of code

Credit goes to FoFa for posting this code on this form.

Attached you will find code to relink tables. I manage I am doing to wrong, and need help in order for it to execute correctly. I would appreciate direction.

What I am doing:
Copying the modules over to my unsplit database.
Creating a form called ReLink.
Setting a macro (AutoExec) to open the the form.
On the form's On Open event placing the function =TestIt
Splitting the database.
Verifying by opening FE that connection exists
Moving BE and reopen FE.
All I get is unable to connect the BE message. Form continues to open.

Thanks for insight.
Attached Files
File Type: zip Relinking_Tables.zip (42.8 KB, 44 views)
Reply With Quote
Sponsored Links
  #2  
Old 04-13-2006, 08:13 PM
g28dman g28dman is offline
Registered User
 
Join Date: Nov 2005
Posts: 81
g28dman is on a distinguished road
Error that I am getting

OK...Update!

I got this working with the following exception

When FE first opens it asks to link BE. On 2nd open it does not open the open file window as long as the FE and BE are in the same directory.

When I change the BE to a different directory it opens the open file window each at start up, does it not save the info the first time? Is it possible to do this.

Thanks
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing tables from other access database using code anb001 Forms 4 06-10-2005 02:08 PM
Can't open linked tables from code database shenlee Tables 12 05-14-2003 08:14 AM
Relinking Tables in code Mcgrco Modules & VBA 2 02-26-2002 11:53 PM
Creating Tables in code bmwilson Modules & VBA 2 12-08-2001 05:26 PM


All times are GMT -8. The time now is 09:45 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World