Results 1 to 2 of 2
  1. #1
    Tolpless_Mopar is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Oct 2015
    Posts
    1

    Adding one entry to more than one table at once.

    Hi, this is my first post.

    So, my problem. I have created a database and I have the same primary key(SITE) for more than one table. I can not seem to figure out how to create a query to add an entry to all the tables that have site as the primary key. Also, I am running Access 2003 Can somebody help me out?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    So these tables have a 1-to-1 relationship? These key fields are number type - not autonumber?

    Regardless of relationship, one table needs to act as 'parent' and the others are dependents. Then use a form/subform arrangement for data entry/edit.

    If you want to provide db for analysis, follow instructions at bottom of my post.

    INSERT SQL action can act on only one table at a time.
    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.

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

Similar Threads

  1. Replies: 3
    Last Post: 06-04-2015, 09:48 AM
  2. Problems adding a new entry
    By octsim in forum Programming
    Replies: 1
    Last Post: 10-24-2013, 07:35 AM
  3. Replies: 1
    Last Post: 12-30-2012, 07:57 PM
  4. Replies: 4
    Last Post: 08-14-2012, 07:14 AM
  5. Adding colorfield to entry
    By carstenhdk in forum Forms
    Replies: 10
    Last Post: 05-10-2010, 05:36 AM

Tags for this Thread

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