I realize that. However, while the OP might want a drive letter, it's
possible that the application could return a UNC. This should only happen if
they opened the application using a shortcut that contained a UNC, or if
they opened Access, then opened the application by navigating to the file
through the Network Neighborhood. If that's the case, then the code from http://www.mvps.org/access/api/api0003.htm at "The Access Web" should help
to determine what the drive letter should be, assuming that a drive IS
mapped to that share. (Of course, it's always possible that more than one
drive could be mapped to the same share!)
I don't disagree with you at all, Doug. Guess I was a little lazy on this.
And there is the situation (we have it here) where the be is linked to an
unmapped server. We do it as one of the "ignorance is the first line of
security". If the user's don't have it mapped, they can't mess with the be
because in most cases they don't know how.