Results 1 to 2 of 2
  1. #1
    a2music is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2011
    Location
    Northern California
    Posts
    2

    Unhappy Linked Tables and changing filename

    Hello, I'm new to this forum but I can tell I'll be here a lot, so first off, hey everybody!

    I have a a query that takes a bunch of data on sales, rev, orders, etc. Since these tables happen to be quite large, I've created a query of linked tables. These tables are tab-delimited txt files and stored in a folder in the same directory as the access query.

    Here is my problem,



    When referencing the external tables, this query works perfectly on my computer, when I change computers the filepath changes. I'm calling this query from an excel macro and I have to manually enter the filepath everytime I switch computers. I was wondering if there was a way to reference the filepaths as relative rather than exact.

    ie: C:\me\automate\database.accb works
    @ work: C:\myName\automate\database.accb does not work, I have to re-import the tables even though they're linked, not imported.

    i want to just define the reference as automate\database.accb so that the macro works on any computer from within the same folder.

    Sorry if I used the wrong terminology, I'm still learning

    Thanks everyone

  2. #2
    a2music is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2011
    Location
    Northern California
    Posts
    2
    Also, I tried with the LinkedTable manager but this would be cumbersome on the user if they have to use the LinkedTable manager everytime they ran the macro

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

Similar Threads

  1. Don't want linked tables in my form
    By lfox in forum Forms
    Replies: 1
    Last Post: 11-09-2010, 12:29 PM
  2. security on linked tables
    By wil in forum Security
    Replies: 3
    Last Post: 08-07-2010, 04:54 PM
  3. Help with Linked Tables
    By softspoken in forum Forms
    Replies: 22
    Last Post: 03-25-2010, 09:35 AM
  4. Linked tables and copy
    By TimG in forum Access
    Replies: 2
    Last Post: 10-08-2009, 07:54 AM
  5. help with linked tables
    By davidoakley in forum Access
    Replies: 9
    Last Post: 06-17-2009, 05:23 PM

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