Results 1 to 3 of 3
  1. #1
    PATRICKPBME is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2016
    Posts
    171

    Updating 3 tables with entry on 1 table

    I have a database with 3 tables. I have linked the tables by the contract numbers in each table. When I run queries I am getting the results that I want. there is one thing at this point I can't see to figure out.

    I want the tables to communicate with each other so that when I change or add a new contract number to the primary table it adds it to the other two tables. I thought setting the relationships to referential integrity, cascade up might do this but it is not. I have set the relationships up with every combination I can think of but nothing makes the change or addition take effect.

    I am going to create a form to make data entry simple but only want to have to put in the contract number once on the form to have it inserted in all 3 tables. The tables have a one-to-one relationship if that makes any difference.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    No, just setting relationships will not create dependent records.

    Set subform container Master/Child Links properties. As soon as any data is entered into a field of subform, the primary key from main form will populate to foreign key field of subform.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    PATRICKPBME is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2016
    Posts
    171
    Thank you very much.

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

Similar Threads

  1. Updating Table with new Form Entry
    By MJCRN in forum Access
    Replies: 2
    Last Post: 04-15-2016, 06:06 PM
  2. Replies: 1
    Last Post: 02-06-2016, 08:01 AM
  3. Replies: 25
    Last Post: 04-03-2014, 02:04 PM
  4. Replies: 1
    Last Post: 12-11-2013, 01:18 PM
  5. Replies: 2
    Last Post: 07-07-2011, 08:25 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