473,324 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

problem with relative paths for references

I have a problem with setting references between library databases when
I move them to a different location. I thought that as long as the
relative path remained constant, the references would remain intact,
but this doesn't seem to be the case.

I have this sort of structure, with several Library databases in each
subdirectory:

DBDir+---LibSubDir1
|
+---LibSubDir2

References between libraries in LibSubDir1 cope fine when the DBDir and
contents are move to another location, but references from libraries in
LibSubdir1 to those in LibSubDir2 break. I thought that, since the
relative path is the same, this would be OK.

Any ideas why it isn't?

Cheers
Ian

Nov 13 '05 #1
2 1823
Because it isn't <g>.

Try downloading the references wizard from
http://www.mvps.org/access/downloads/wzref.zip and look at the bit which
builds the RefLibPaths (modRefLibPaths) you'll need to change the
REG_APP_KEYS_PATH constant (change the 8.0 to whichever version of Access
you're using).

--
Terry Kreft

<ia******@yahoo.co.uk> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have a problem with setting references between library databases when
I move them to a different location. I thought that as long as the
relative path remained constant, the references would remain intact,
but this doesn't seem to be the case.

I have this sort of structure, with several Library databases in each
subdirectory:

DBDir+---LibSubDir1
|
+---LibSubDir2

References between libraries in LibSubDir1 cope fine when the DBDir and
contents are move to another location, but references from libraries in
LibSubdir1 to those in LibSubDir2 break. I thought that, since the
relative path is the same, this would be OK.

Any ideas why it isn't?

Cheers
Ian

Nov 13 '05 #2
Terry
Thanks for the References wizard. i was hoping to avoid making registry
entries, though.

What's confusing me is that the Access 2002 Developers Handbook (p1149)
says that if the absolute path of a reference doesn't work, Access then
tries the relative path. With further testing i've found that this has
worked...and then it hasn't...and then it has...and then... Obviously
there's something missing in what I'm doing, but I can't see what!

Ian

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andrew Crowe | last post by:
Hi guys, I've come across a rather strange, and very anoying problem. On /some/ PHP sites that we're developing on 2 different servers, files that are in the root of the website are unable to...
7
by: Doug | last post by:
If I were to write an include with a relative path like include("../conf/config.php"); What is the use? As far as I understand it, the path is relative to the first script that is called by...
24
by: sinister | last post by:
After doing a websearch, it appears that it's OK to omit the "http:" to form a relative URL. Are there any pitfalls to this? For example, if there is a page http://www.domain1.com/page1.html...
2
by: Joe | last post by:
Hi, can someone tell me how to set up relativ paths in VS2003 C++ ? I have some source with a tree directory structure that segments include files in various directories: #include...
5
by: | last post by:
Hi, I'm trying to use the cookie munging session handling behaviour of asp.net instead of cookies themselves as I'm finding quite a few people are barring cookies (especially AOL users). If I...
1
by: Dave | last post by:
I've been having trouble with the development of my ASP.NET site. The problem stems from the fact that I use one development server for many projects like www.devserver.com/project/, but each...
19
by: Jerry M. Gartner | last post by:
Greetings: What is the best way to resolve paths within a document regardless of what path it is opened under? For example: I have x.php and it contains <img src="images...">, (amongst other...
1
by: harvey | last post by:
Can anyone tell me how PHP handles paths? Do all functions require fully qualified paths or can some use relative paths? I'm having a problem with a foreach/glob() at the moment but have others...
15
by: Lars Eighner | last post by:
Aside from the deaths of a few extra electrons to spell out the whole root relative path, is there any down side? It seems to me that theoretically it shouldn't make any difference, and it would...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.