Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9253335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:11:37+00:00 2026-06-18T11:11:37+00:00

I have a question that I had trouble putting an appropriate title for. I

  • 0

I have a question that I had trouble putting an appropriate title for. I need to distrubute a front end to multiple locations within our WAN. The back-end tables will be located on a specific drive that everyone has access to.

The problem I ran into is that not everyone has the drive that contains the backend mapped to the same drive letter. It appears that Access refers to the location of the backend by the Path ( ie H:\tables\backend) rather than the server name (wvadrive1\tables\backend).

I know that I can refer to the server name instead of drive name via VB code, but when setting up the linked tables via Linked Table Manager / External data, it appears access maps it based on drive letter.

Is there an easy solution to ensure that everyone I distrubute this to will have their tables properly linked? Can I run some VBA the first time the database is opened to map the linked tables?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:11:39+00:00Added an answer on June 18, 2026 at 11:11 am

    Use VBA to change the TableDef.Connect properties to point to the file share (UNC path) instead of drive letter.

    In the simplest case, all your users can use the same UNC path, and all of the linked tables are in the same db file …

    Const cstrUncPath As String = ";DATABASE=\\Server\ShareName\AnotherFolder\YourDb.mdb"
    Dim db As DAO.database
    Dim tdf As DAO.TableDef
    
    Set db = CurrentDb
    For Each tdf In db.TableDefs
        If tdf.Connect Like ";DATABASE=*" Then
            tdf.Connect = cstrUncPath
            tdf.RefreshLink
        End If
    Next
    Set tdf = Nothing
    Set db = Nothing
    

    Do that on the db file before you distribute it to the users. If you wanted, you could run a similar procedure afterward from the users’ local copies of the db file.

    Note that code will change only the links to Access tables. Links to other data sources (ODBC, Excel, text files, etc.) will be ignored.

    If you need to link to tables in more than one Access backend db, use a separate table which includes the db path and table/link name. You can then open that table as a recordset and loop through it to change/create your links as needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is a question that I have had for some time but never actually
I have the same question for Maven that someone had about Ant ( How
I've been a long time browser here, but never have had a question that
(I have a problem that I illustrated in this question but had no correct
I have a question that may be quite naive, but I feel the need
I had trouble coming up with a title for this question because I'm not
I have had a question that I actually know the answer to but wanted
I have a question that should be quick and easy for you guys to
I have a question that I just don't feel like I've found a satisfactory
I have a question that I'm ashamed to ask, but I'm going to have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.