Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2021
    Posts
    1

    input record info from another table

    Is there a way to get Access to input information based on another table?


    This is what I want
    I have an Employees table. In that Employees table, each Employee is assigned a Foreman and Project Manager.
    We are tracking when employees complete training and I want to capture who their Foreman and PM were when they took the training (it changes periodically).
    So if you create a record in the training table for employee 12345, it should automatically add that their Foreman is John Smith and Their PM Jake XYZ

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,791
    You want to keep historical data, yes? Then perhaps...

    tblEmployee (which also contains the supervisor and PM because they are employees) needs a supporting tblEmplSuper table with fields for employee id (not their name) and the employee id of the supervisor and likely a date field for when this association began. The form you use for training could be pulling in the super associated with the training at any given point in time. This could be a combo where the row source gets the super ID based on the Max of Date for that employee (if you're using a date field). That supervisor ID gets stored in your training table(s).
    Last edited by Micron; 02-23-2021 at 10:54 AM. Reason: clarification
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,407
    Somewhat different approach from Micron's MTM concept. I assume a new record will be created for each employee's training effort, so that's a one to many relationship.

    Here's the file nerdy-davegri-v01.zip

    And the form

    Click image for larger version. 

Name:	training.png 
Views:	16 
Size:	51.2 KB 
ID:	44366
    Last edited by davegri; 02-23-2021 at 02:39 PM. Reason: Hit enter too soon

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

Similar Threads

  1. Replies: 1
    Last Post: 11-04-2014, 12:07 PM
  2. Replies: 5
    Last Post: 12-12-2013, 10:13 PM
  3. Replies: 3
    Last Post: 01-31-2011, 11:47 AM
  4. Cannot input info
    By Don1 in forum Access
    Replies: 3
    Last Post: 12-14-2010, 04:17 AM
  5. Replies: 1
    Last Post: 12-13-2010, 04:06 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