Results 1 to 4 of 4
  1. #1
    gmaster is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    May 2014
    Posts
    32

    Join between different DB files

    Hi everybody, i'm here again asking for your precious help in this particular matter: is it possible to create an inner join between tables from two different access files??



    More specifically, i have a query more or less like this one:
    UPDATE T1 INNER JOIN T2 ON T1.B1 = T2.B2 SET T2.A2 = T1.A1 WHERE Transfer = TRUE ("Transfer" is a field in T1 of the YES/NO type)
    As u can see, T2 updates itself with values from T1 depending on the validation of the Transfer field.... but how can it work if T1 and T2 are tabs in two different access files??
    Thanks for reading!!


  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You can "link" an Access table in another database to your current database.
    You just follow the same procedure you would to import an Access table, except select "link" instead of "import".
    You can then use that table from your other database in your query.

  3. #3
    gmaster is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    May 2014
    Posts
    32
    I love you! Marry me!!! It works!

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Glad it works out, but sorry I am already married!

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

Similar Threads

  1. using mdb files which are backed up hourly into zip files
    By Robbie MacKinnon in forum Access
    Replies: 3
    Last Post: 05-05-2015, 05:02 AM
  2. Replies: 6
    Last Post: 11-19-2013, 01:38 AM
  3. Inner Join works but not Left Join
    By kwooten in forum Queries
    Replies: 1
    Last Post: 12-11-2012, 05:09 PM
  4. Outer Join Nested in Inner Join
    By Stevens7 in forum Queries
    Replies: 2
    Last Post: 10-19-2011, 01:34 PM
  5. Replies: 1
    Last Post: 02-21-2011, 09:55 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