dbTalk Databases Forums  

External Table Linking and Paths?! ACK!

comp.database.ms-access comp.database.ms-access


Discuss External Table Linking and Paths?! ACK! in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kelly Cromwell
 
Posts: n/a

Default External Table Linking and Paths?! ACK! - 07-21-2003 , 07:07 PM






Okay does anyone else think it's silly that access stores the full path of
another MDB file when you link a table?

Is there anyway to circumvent that? So when I installed two MDB's with my
application it doesn't matter what the full path is?



Reply With Quote
  #2  
Old   
Scott McDaniel
 
Posts: n/a

Default Re: External Table Linking and Paths?! ACK! - 07-22-2003 , 07:00 AM






"Kelly Cromwell" <cromwellink (AT) hotmail (DOT) com> wrote

Quote:
Okay does anyone else think it's silly that access stores the full path of
another MDB file when you link a table?
Well, uh, no. How could Access/Jet know where your linked tables are located
if it did NOT store the full paths?

Quote:
Is there anyway to circumvent that? So when I installed two MDB's with my
application it doesn't matter what the full path is?




Reply With Quote
  #3  
Old   
Kelly Cromwell
 
Posts: n/a

Default Re: External Table Linking and Paths?! ACK! - 07-22-2003 , 03:40 PM



Umm, you could tell it to use another database in the same folder.

This concept doesn't really make much sense for databases you plan to
distribute now does it? you MUST install this mdb in C:\Temp. Oh yeah, and
your applications will not work over a network if your mdb's have linked
tables...

c'mon, i expect more from microsoft, there must be a work around.

Anyone?

I mean if VB can store relative path's why can't access?


"Scott McDaniel" <junk (AT) junk (DOT) com> wrote

Quote:
"Kelly Cromwell" <cromwellink (AT) hotmail (DOT) com> wrote in message
news:kf%Sa.482532$ro6.11506586 (AT) news2 (DOT) calgary.shaw.ca...
Okay does anyone else think it's silly that access stores the full path
of
another MDB file when you link a table?

Well, uh, no. How could Access/Jet know where your linked tables are
located
if it did NOT store the full paths?


Is there anyway to circumvent that? So when I installed two MDB's with
my
application it doesn't matter what the full path is?






Reply With Quote
  #4  
Old   
John
 
Posts: n/a

Default Re: External Table Linking and Paths?! ACK! - 09-04-2003 , 04:31 PM



Open up the front end of your database app. When you get the error
saying that the path for the database is not valid just click OK.
Next, go up to the Window menu in Access and click unhide. When the
unhide window comes up click on your database and the tables for your
database will appear showing that they are linked (but they really are
not). Delete all your tables. Then go up to the File menu in Access
and choose Get External Data -> Linked Tables. The Link window will
appear. Browse to find the database backend you are trying to link or
type the UNC in the filename box and then click the Link button. The
Link Tables box will appear. Choose all the tables you want to link
or just click select all and then click OK. This should link all your
tables to the backend database.



"Bradley" <bradley (AT) REMOVETHIScomcen (DOT) com.au> wrote

Quote:
"Kelly Cromwell" <cromwellink (AT) hotmail (DOT) com> wrote in message
news:ujhTa.485102$3C2.13149070 (AT) news3 (DOT) calgary.shaw.ca...
Umm, you could tell it to use another database in the same folder.

This concept doesn't really make much sense for databases you plan to
distribute now does it? you MUST install this mdb in C:\Temp. Oh yeah,
and
your applications will not work over a network if your mdb's have linked
tables...

c'mon, i expect more from microsoft, there must be a work around.

Anyone?

I mean if VB can store relative path's why can't access?


"Scott McDaniel" <junk (AT) junk (DOT) com> wrote in message
news:7K-dne0kcq1zu4CiXTWJkQ (AT) comcast (DOT) com...
"Kelly Cromwell" <cromwellink (AT) hotmail (DOT) com> wrote in message
news:kf%Sa.482532$ro6.11506586 (AT) news2 (DOT) calgary.shaw.ca...
Okay does anyone else think it's silly that access stores the full
path
of
another MDB file when you link a table?

Well, uh, no. How could Access/Jet know where your linked tables are
located
if it did NOT store the full paths?


Is there anyway to circumvent that? So when I installed two MDB's with
my
application it doesn't matter what the full path is?

Most Access applications have some method of re-attaching (re-linking) the
table to the back-end database. Most of mine have a table with the names of
the linked tables.. some code goes through the names and checks that those
tables are able to be opened, if not it assumes they need to be re-linked so
some code runs that prompts the user for the location of a data file and
then links to it.

There's many methods of doing it.. if you need an example let me know.

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.