Hi everyone
I'm trying to make a database for keeping track of my company's keys. I have three tables, as you can see from the attachment. I'm trying to make it so that the subdataform in "Key" shows the "Key Assignments" table while also showing the employee's last name. I have a combo box set up in a form for the "Key Assignments" table which lets you choose the employee's name from the drop-down menu and records it in the Employee ID field. But is there a way to automatically update the Last name field in the Key Assignments using this, already entered, employee ID earlier in the form?
I'm also trying to add the Building and Room fields from "Key" to "Key Assignments" for the same reason as I want to add the last name field - so automatically updating these fields using a prior entry of the foreign key will make data entry less time consuming when entering over a 1000 keys.
These are my two main goals for this database: 1) clicking on the expand button in the "Key Users" to see the keys they have (my supervisor wants to see them on the table instead of a query because she has some knowledge with access and this is quicker). 2) clicking on the expand button in the "Key" to see all the employees that possess the particular key.
Please help!
I'm trying to make a database for keeping track of my company's keys. I have three tables, as you can see from the attachment. I'm trying to make it so that the subdataform in "Key" shows the "Key Assignments" table while also showing the employee's last name. I have a combo box set up in a form for the "Key Assignments" table which lets you choose the employee's name from the drop-down menu and records it in the Employee ID field. But is there a way to automatically update the Last name field in the Key Assignments using this, already entered, employee ID earlier in the form?
I'm also trying to add the Building and Room fields from "Key" to "Key Assignments" for the same reason as I want to add the last name field - so automatically updating these fields using a prior entry of the foreign key will make data entry less time consuming when entering over a 1000 keys.
These are my two main goals for this database: 1) clicking on the expand button in the "Key Users" to see the keys they have (my supervisor wants to see them on the table instead of a query because she has some knowledge with access and this is quicker). 2) clicking on the expand button in the "Key" to see all the employees that possess the particular key.
Please help!