Results 1 to 3 of 3
  1. #1
    U810190 is offline Novice
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Posts
    14

    Only one Table Updates from New Record in Form


    I have 3 tables in one query, and a form built from that query. I only pulled one "company" field into my query from one table. The other two tables also have a "company" field. Why don't all of the tables update with the new company when I add a record in the form??

  2. #2
    Join Date
    Mar 2010
    Posts
    2
    It will only update to the one you pulled - It doesn't know the others exist. If you have 3 tables with the same name in each you would need to write that in the query so it would know which company in which table to update
    example:1 query with 3 tables requires 3 fields in the query "[table1]![company]" "[table2]![compnay]" "[table3]![company]" now the query has 3 distinct tables to update.

  3. #3
    U810190 is offline Novice
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Posts
    14
    I noticed that and assumed that because the tables were linked with a 1 to 1 relationship with referential integrity that each table would be updated.

    I smartened up and combined all of the tables in excel first and then imported just one table.

    Works fine now.

    I have been having trouble trying to understand when I would and should use 1 to 1 and 1 to many relationships. Most all of my data will pertain to one specific company. I have over 500 companies and over 100 different columns of information. I know that I can ultimately use just one table to query from, etc. My issue is that I want to build several different forms to break out the information for each company, i.e. demographics, credit info, contract info. There is a natural heiarchy as to how the information should be entered. I want company demographics entered before company credit info, and so on. Is there a simple way to create this step by step process?

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

Similar Threads

  1. Replies: 1
    Last Post: 03-29-2010, 04:11 AM
  2. Replies: 3
    Last Post: 03-22-2010, 04:30 PM
  3. Create PDF for each record in table/form
    By ChrisCMU in forum Forms
    Replies: 15
    Last Post: 07-28-2009, 01:52 PM
  4. Replies: 0
    Last Post: 01-06-2009, 02:17 PM
  5. Replies: 0
    Last Post: 06-30-2006, 09:00 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