Navy Ken
Member
- Local time
- Today, 11:54
- Joined
- Aug 22, 2024
- Messages
- 38
Samual Adams is an Area Personnel Security Representative. This role is stored in the table EmployeeVitalDataT as a foreign key from the AuthorityGroupT table. Samuel Adams has vetted John Hancock and determined he has the proper clearance level and need-to-know to access area A. This is recorded in the TempVisitAccess table as a foreign key from EmployeeVitalDataT. The form TempVisitAccessF has a combo-box that is populated by a query that only returns employees that are Area Personnel Security Representatives to record who authorized the access.
Some time later Samuel Adams is reassigned to the cyber team and his record is changed to record this. The problem is now the TempVisitAccessT table still has Samuel Adams EmployeeVitalDataT foreign key (which is good) but the form shows a blank because the query has filtered him out of the combo box (which is bad). I need the combo box to show the historic data.
How do I limit the combo box choices to only current Area Personnel Security Representatives but still show the historic values until another choice is made?
Some time later Samuel Adams is reassigned to the cyber team and his record is changed to record this. The problem is now the TempVisitAccessT table still has Samuel Adams EmployeeVitalDataT foreign key (which is good) but the form shows a blank because the query has filtered him out of the combo box (which is bad). I need the combo box to show the historic data.
How do I limit the combo box choices to only current Area Personnel Security Representatives but still show the historic values until another choice is made?