Results 1 to 3 of 3
  1. #1
    robertfp is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2012
    Posts
    1

    Updating drop down list after entering data

    Hi all



    My database will consist of three tables, "Customers", "Equipment" and "ServiceRecords". Each piece of equipment can only be owned by one customer, but each customer can own several pieces of equipment. When registering new equipment I will pick which customer it belongs to in the form (there are no duplicates of equipment and it will forever and ever be owned by the same customer), I do this now using the lookup-wizard.

    When I'm entering data into my "ServiceRecord" I want to first pick a customer, then pick equipment from a list containing only the equipment that this customer owns. That means that the Equipment list in the ServiceRecord form must be updated when I pick a customer. I can do service on the same equipment many times.

    Can someone please tell me how I should structure this, how I should link the tables together and so on? Needless to say, I'm new to Access.

    Thanks a lot!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    THe query that lists the equipment simply needs to reference your current selection of a Customer.

  3. #3
    joelmeaders is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jan 2012
    Posts
    33
    Make sure each customer, equipment and service record has a unique ID.

    The equipment table needs a field to hold the customer ID it is linked to. customer id to equipment id is one-to-many.
    The service record table can be linked to the customer ID. Customer to service record is one to many if the customer can have multiple service records.

    RuralGuy already listed the final step.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-04-2012, 02:32 PM
  2. updating a drop down list
    By MissVinegar in forum Forms
    Replies: 8
    Last Post: 01-12-2012, 08:23 AM
  3. Replies: 1
    Last Post: 11-13-2011, 08:01 AM
  4. Replies: 10
    Last Post: 10-10-2011, 08:08 PM
  5. Replies: 2
    Last Post: 02-13-2010, 01:54 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