Results 1 to 2 of 2
  1. #1
    newbie_204 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Nov 2015
    Posts
    10

    drop down box selection

    I have a table list of clients with respective contacts within those clients; However in some case there can be a duplicate contact with two different clients. I have a drop down in my form to auto fill the contact information for the client contact information, regardless of the drop down selection the contact information defaults to the first record entered. IE Contact 1, Contact 2, Contact 3 (same person different client) - doesn't matter which selection is used the auto fill data defaults to Contact 1. How can I fix this.

    Thanks in advance.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    there should be 1 table for Clients,
    1 table for Contacts
    1 table for tClientContacts

    the sub table, tClientContacts holds the key from tClients.ClientID and the key from tContacts.ContactID

    tClientContacts table:
    CliConID (auto)
    ClientID*
    ContactID*

    now you should never duplicate Contacts.
    the tClientContacts will never hold two [Bob Smiths on Main St in TX] for 1 client.
    but two different clients CAN have this Bob smith as a contact.

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

Similar Threads

  1. Replies: 3
    Last Post: 08-01-2017, 04:02 PM
  2. Replies: 22
    Last Post: 09-23-2015, 09:01 PM
  3. Replies: 10
    Last Post: 07-22-2014, 03:40 PM
  4. Drop down selection is being saved in the table
    By sbart in forum Programming
    Replies: 5
    Last Post: 02-03-2014, 11:43 AM
  5. Drop-down list values selection
    By Haleakala17 in forum Forms
    Replies: 2
    Last Post: 09-29-2012, 03:59 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