Results 1 to 4 of 4
  1. #1
    gg80 is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    328

    Display Linked table Path


    One of my users would like the path to a linked table to be displayed at the top of a form. His reasons aren't the best, but---. I can display the mdb file path using [Application].[CurrentProject].[Path] but how do I do same for a specific linked object? I tried sticking the table name before path, but no go. Is it possible? Any help much appreciated. Using A2003 with XP

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    what do you mean? the path to the BACK END file?

    if that's what you mean, saying "path to a linked table" is absolutely pointless, as they will all have the same path link. if that's NOT what you mean, this really doesn't make sense at all because there are no links to tables inside a single file.

    if you are indeed looking to get the path to the BE file where the tables are located, this will do so (if you're behind a form):

    Code:
    BEpath = dLookup("database", "msysobjects", "[name] = '" & me.recordsource & "'")

  3. #3
    gg80 is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    328
    Thanks for answering, but I don't know the term "Back End". What I have is a data base file wherein some Tables in the file are located in the shop server and linked rather than imported. The expression you gave me gives me the path to the main mdb file.

    The path to a linked table is S:\ etc.\etc.\etc.\SomefileName.mdb.(the expression you see when you click Linked Table File Manager). Is there a way to display that path on a form? Agree, strange, but man wants it if possible to do.

  4. #4
    gg80 is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    328
    I think my thank you didn't post. In Case it did, pls accept double thanks. My post above was in error. I typoed, then misinterpreted. Time to close lid and clear mind.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 03-18-2011, 04:07 PM
  2. Replies: 0
    Last Post: 11-30-2010, 12:23 PM
  3. Replies: 2
    Last Post: 07-31-2010, 11:45 PM
  4. Change Path of Make Table Query
    By Arnie49 in forum Access
    Replies: 0
    Last Post: 03-14-2010, 05:29 PM
  5. Replies: 2
    Last Post: 10-27-2009, 07:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums