Results 1 to 2 of 2
  1. #1
    adrianf44 is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Apr 2018
    Posts
    11

    Updating a table with a DLookUp text box

    Good morning,

    I have a Contacts table with my users and a Location table with the Location, Address, City and Zip of the users. Right now on my form I'm using a dropdown to select their location and using a DLookUp textbox to fill in their address based on the location I choose. I added columns to my Contacts table for Address, City and Zip and would like to fill in those fields based on which location I choose but I haven't been able to figure it out.



    My Contacts table is linked to SharePoint and I would like to be able to share their address with other users

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    That's not the way to do it.
    Make sure your ContactsID PK field is a foreign key in your Location table.
    Link both tables using this field and use that as your form record source.

    Now you will have the correct location details for each contact on the form.

    I don't use SharePoint so can't advise on that part.
    Last edited by isladogs; 06-10-2018 at 01:25 PM.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

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

Similar Threads

  1. Text Box In Form Not Updating Table Field
    By dgarber in forum Forms
    Replies: 8
    Last Post: 11-22-2017, 03:15 AM
  2. Replies: 14
    Last Post: 05-30-2015, 09:22 PM
  3. Replies: 7
    Last Post: 10-25-2014, 10:41 AM
  4. Replies: 3
    Last Post: 08-22-2012, 03:51 PM
  5. Replies: 4
    Last Post: 03-05-2010, 09:56 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