Results 1 to 2 of 2
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    Enter an employee name, and their company automatically populates in a table

    For now I am having users work directly with tables. I would like to have a column where the user can select the name of a subcontractor employee from a pull down list in the table. Then based on the employee they select, in an adjacent column called "Company" the name of the company that the subcontract employee works for would automatically populate in the table.



    How can this be done? I believe I would need some sort of VLOOKUP function, just like they have in Excel.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Users should not work directly with tables and queries. Can't really do what you want in a table. Use form.

    Have a multi-column combobox that includes fields for employee info, including their company. An expression in textbox can reference columns of combobox to display the info.
    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: 2
    Last Post: 10-31-2014, 11:42 AM
  2. Automatically enter email address from customer table
    By Pure Salt in forum Import/Export Data
    Replies: 3
    Last Post: 07-09-2014, 08:03 AM
  3. Replies: 1
    Last Post: 04-14-2014, 11:44 AM
  4. Replies: 2
    Last Post: 04-10-2013, 02:59 PM
  5. How do I enter data automatically?
    By ffurqana in forum Access
    Replies: 0
    Last Post: 07-08-2010, 07:47 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