Results 1 to 3 of 3
  1. #1
    smba is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2016
    Posts
    2

    How to link 2 tables


    Hello everybody,

    I'm trying to find a way to "link" 2 tables in a similar way as Excel... For example, I would want the value in a particular cell of my TABLE1 to change when I change a value in another cell in my TABLE2.

    In Excel I can insert a formula in the cell I want to change, Is there something similar in Access?

    Regards

  2. #2
    mrmmickle1's Avatar
    mrmmickle1 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Location
    North Carolina
    Posts
    78
    You might try an After Update Macro.

    When a record is changed in one table it fires a macro which you could set to evaluate the field in Table2.... i.e. run an Update Query.

  3. #3
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    No, not really. MS Access not the same as Excel. If you have the two tables joined in a defined rlationship on the two fields, and you have referential integrity enabled, that will work, but the two fileds must have the same value.

    I think the only way you can do what you need is through a form, where you can use VBA to update the value in Table2 when you change the value in Table1.

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

Similar Threads

  1. Link tables
    By compooper in forum Import/Export Data
    Replies: 2
    Last Post: 06-23-2011, 07:08 PM
  2. Trying to Link tables
    By brandonze in forum Access
    Replies: 1
    Last Post: 05-19-2011, 11:03 PM
  3. how to link 3 tables?
    By handsome1855 in forum Access
    Replies: 1
    Last Post: 03-10-2011, 09:25 AM
  4. One-way link between tables
    By Mikele di Sagitter in forum Database Design
    Replies: 1
    Last Post: 07-23-2010, 08:26 AM
  5. Best way to link tables together?
    By marleyuk in forum Access
    Replies: 1
    Last Post: 06-07-2009, 08:44 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