A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Linking tables to a relative path



 
 
Thread Tools Display Modes
  #1  
Old December 14th, 2004, 10:01 AM
Paul
external usenet poster
 
Posts: n/a
Default Linking tables to a relative path

I have a split Access 2000 DB with linked tables. I want to create a
standalone copy of this DB on another PC without having to manually link the
tables again because I won't be there installing it on-site. Is there a way
of linking the tables to the front-end by a relative path rather than an
absolute one specific to one machine?

I'd rather not have to write an installer that installs to a definite path
like Program files but thats the only way I can think of getting round this.

--
Thanks
Paul
  #2  
Old December 14th, 2004, 10:20 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default

No. You cannot use a relative path in the Connect property of a TableDef.

If you would like to have the user locate the back end mdb using the normal
FileOpen dialog, and then relink all the tables, there is an example of how
to do that in the relinking module of solutions.mdb. You can download that
from:
http://msdn.microsoft.com/library/of...dbdownload.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Paul" wrote in message
...
I have a split Access 2000 DB with linked tables. I want to create a
standalone copy of this DB on another PC without having to manually link
the
tables again because I won't be there installing it on-site. Is there a
way
of linking the tables to the front-end by a relative path rather than an
absolute one specific to one machine?

I'd rather not have to write an installer that installs to a definite path
like Program files but thats the only way I can think of getting round
this.

--
Thanks
Paul



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking to ODBC tables on startup using dynamic username/password Kurt Monroe Database Design 2 October 8th, 2004 07:06 PM
Linking Access 97 tables to Access 2002 tables michaelwoodard Database Design 2 August 13th, 2004 02:43 AM
setting relative path for linked tables? [email protected] Database Design 1 July 6th, 2004 09:57 PM
Help Please Copying or Linking Tables A2002 Mike Wilson New Users 2 June 5th, 2004 01:54 PM
Linking to other .dot files without the full path to dot file - Help please ! gravesen New Users 1 June 3rd, 2004 02:25 PM


All times are GMT +1. The time now is 09:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.