Re: Make linked table have a relative path




ghadley_00@xxxxxxxxx wrote:
Hi,

I have an access database with a table linked to an external text file.
Occasionally the location of the database and the text file change (but
are always in the same directory). Is there a way to have the location
of the external text file be a relative, rather than absolute path (to
be .\textfile.txt rather than C:\dir\textfile.txt)?

Any advice that can be provided would be provided would be greatly
appreciated/

Best wishes,

George Hadley
ghadley_00@xxxxxxxxx

If you link to a file on a local area network, make sure to use a
universal naming convention (UNC) path, instead of relying on the drive
letter of a mapped network drive in Windows Explorer. A drive letter
can vary on a computer or may not always be defined, whereas a UNC path
is a reliable and consistent way for Microsoft Access to locate the
data source that contains the linked table.

.



Relevant Pages

  • Re: Linked tables
    ... > Important If you link to a file on a local area network, ... > use a universal naming convention (UNC) path, instead of relying on the drive ... A drive letter can vary ... > on a computer, or it may not always be defined; whereas, a UNC path is a ...
    (microsoft.public.access.gettingstarted)
  • Re: linked field in same directory
    ... I have my tables in one access database and my ... >folder on my usb flash card. ... >computers throughout the day. ... >computers if the drive letter is different then the linked ...
    (microsoft.public.access.tablesdbdesign)
  • linked field in same directory
    ... I have my tables in one access database and my ... computers throughout the day. ... computers if the drive letter is different then the linked ... tables dont work anymore. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: how can i make a template
    ... if you want to keep this data in an Access database, ... with a table design, then build forms for data entry, and you may want a ... local area network, but not on a wide-area network. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: How to access a remote pc
    ... > i've an access database that's residing on a seprate computer, ... > application runs on different machines accessing that "database on a ... server". ... address instead of the UNC path. ...
    (microsoft.public.vb.general.discussion)