Results 1 to 2 of 2
  1. #1
    Sloopybonn is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Jan 2020
    Posts
    1

    Learning MS Access - need help understanding how to link one field to another

    I would like to design a form where when an employee's ID number is entered, the form would automatically display the employee's name. This name would be pulled from the same table that the ID is kept in.



    Any help to understand how to link one text field to a comma box or another text field, and make it react upon data entry, would be appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,898
    Use a multi-column combobox - RowSource like: SELECT EmpID, LastName & ", " & FirstName AS FullName FROM Employees;

    Expression in textbox can reference combobox column by index, index begins with 0: =[cbxEmp].Column(1)
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 1
    Last Post: 02-24-2015, 04:45 PM
  2. I'm stumped with learning VBA in Access
    By phineas629 in forum Programming
    Replies: 2
    Last Post: 01-06-2012, 04:57 PM
  3. Replies: 1
    Last Post: 07-26-2011, 05:18 PM
  4. Learning access, need work.
    By akius in forum Access
    Replies: 2
    Last Post: 07-06-2010, 12:42 PM
  5. Learning Access...need help.
    By Banner in forum Queries
    Replies: 1
    Last Post: 10-12-2009, 02:48 AM

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