Results 1 to 5 of 5
  1. #1
    LMA is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2013
    Posts
    7

    Form field to update two tables?

    Hi, I'm new to Access and trying to improve my company calibration database. We have been using the tables directly and I want to set-up a form to enter the data.

    The tables look like this:

    Gage Master Table: (only one row allowed per Unique Identifier)
    Unique Identifier; Status; Description; Date of Calibration; Next Calibration Due Date; Gage Accuracy; Team; User/Location.....

    Calibration Results Table: (multiple rows for each Unique Identifier as results are added)
    Unique Identifier; Date of Calibration; Next Calibration Due Date; Dimension 1; Dimension 2 - 10; As Found; As Left.....

    Currently I have a form that will update the Results table, but I need it to also update the Date of Calibration & Next Calibration Due Date in the Master table for the Unique Identifier entered in the form. How can this be done?


    I would appreciate any help in making this work.
    Thanks.

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    I recommend using a Form with a SubForm - aka - Master-Detail Form.
    See if this page helps with what you are trying to do:
    http://office.microsoft.com/en-us/ac...010098674.aspx
    All the best!

  3. #3
    LMA is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2013
    Posts
    7
    I was able to create a sub form, but the dates have to be entered twice, once for the Results table and again for the Master table. Is there a way to link the date boxes so one entry will update the other?

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    The Link Master Fields/Link Child Fields properties can take more than one set of Fields; simply include the Date Fields as well.

    Linq ;0)>

  5. #5
    LMA is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2013
    Posts
    7
    Thanks for the tips, they helped. I had another issue with updating the master table and finally found a solution. Still have much more to do, but at least I'm making some progress.

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

Similar Threads

  1. Replies: 2
    Last Post: 02-12-2013, 07:27 PM
  2. Replies: 3
    Last Post: 10-25-2012, 11:21 AM
  3. One Form to Update 2 Related Tables?
    By zannix in forum Forms
    Replies: 3
    Last Post: 01-26-2012, 08:46 AM
  4. Update two tables from one input form
    By Jeff-H in forum Forms
    Replies: 7
    Last Post: 09-26-2010, 10:44 AM
  5. Update Multiple tables from one form
    By KenK in forum Forms
    Replies: 0
    Last Post: 10-30-2009, 08:44 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