Results 1 to 2 of 2
  1. #1
    MattD00 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    1

    pull up data from a table into a form

    I have created a table with an ID field and a names field and added a few records. I then created a form and made a combo box using the lockup wizard to list all of the names in the table on the drop down. I then placed the ID field on to the form. I want it to work so that when a name is selected from the drop down there ID for that user is then displayed in the ID field on the form. How can I get this to work because when I get it working I want it to do the same thing for more information stored about the user.

  2. #2
    jgelpi16 is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544
    I think DLookup() would work perfectly for this.

    http://www.techonthenet.com/access/f...in/dlookup.php

    set the results of your DLookup() to the text box that you want to use to display your ID.

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

Similar Threads

  1. Pull Data from another table
    By bbranco in forum Access
    Replies: 1
    Last Post: 06-19-2013, 06:15 AM
  2. Code to pull in data from a specific record
    By jdunn36 in forum Access
    Replies: 1
    Last Post: 09-20-2010, 11:54 AM
  3. Add & Pull Records from Table via Form
    By sujitshukla in forum Programming
    Replies: 1
    Last Post: 08-02-2010, 05:51 PM
  4. Replies: 1
    Last Post: 03-23-2010, 09:18 AM
  5. Only pull out curtain data from a query
    By mela in forum Queries
    Replies: 0
    Last Post: 12-08-2009, 12:20 PM

Tags for this Thread

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