Here is a link to an api that will convert a drive map path to a unc path
plus a few other nice goodies:
http://www.mvps.org/access/api/api0003.htm
To convert to a unc:
?fgetuncpath("o:")
\\rpidalrpo001\RealPro
--
Dave Hargis, Microsoft Access MVP
"Author" wrote:
> Searched my bookmarks and couldn't find where I had read this conversation
> before.
> I am working with a linked database. (My copy of) the Front End contains a
> Module that runs a query to refresh data in a table on the Back End. My
> problem is I need the path of the Back End Database; currently when I run the
> code I get Run-Time 3024, 'Could not find file
> \\COMPANYNETWORK\VOLA\USERS\MYNAME\BEDatabase.mdb'
> I remember hearing (read: lurking) a discussion about how using the Network
> path instead of the file path was more stable, less error prone, etc.
> How do I get the file path on the *server*? (i.e. not starting with S:\ )
> Why do I need to use the server path instead of the drive path?
> Thankya
> -Pete