G
Guest
I maintain a training records database. The main form is a description of
the training session, and the subform is a listing of attendees. There are
three tables of interest here: tblTrainingSession, tblEmployees (from which
the names of attendees are drawn), and a junction table which contains the
names of attendees. The junction table (tblEnrollment) has foreign keys that
relate to the primary keys from the other two tables. The main form is based
on tblTrainingSession, and the subform on tblEnrollment.
Names in the subform are selected from a combo box which has as its record
source a query based on tblEmployees. Sometimes employees leave. I would
like for their names not to appear in the combo box, but still appear in the
records of past training sessions. I store the EmployeeID (the PK field),
not the actual name in tblEnrollment. The trouble is that any way of
limiting the combo box list also limits the names that appear on the form
(although the records still appear to be in the table).
Any ideas on how to solve this? I would be OK with the names of former
employees on the list through the end of the current year, if that helps to
devise a solution.
the training session, and the subform is a listing of attendees. There are
three tables of interest here: tblTrainingSession, tblEmployees (from which
the names of attendees are drawn), and a junction table which contains the
names of attendees. The junction table (tblEnrollment) has foreign keys that
relate to the primary keys from the other two tables. The main form is based
on tblTrainingSession, and the subform on tblEnrollment.
Names in the subform are selected from a combo box which has as its record
source a query based on tblEmployees. Sometimes employees leave. I would
like for their names not to appear in the combo box, but still appear in the
records of past training sessions. I store the EmployeeID (the PK field),
not the actual name in tblEnrollment. The trouble is that any way of
limiting the combo box list also limits the names that appear on the form
(although the records still appear to be in the table).
Any ideas on how to solve this? I would be OK with the names of former
employees on the list through the end of the current year, if that helps to
devise a solution.