I have a form for entering service records, and on it I have a combo box with employees' names. The RowSource for that combo box is as follows:
SELECT [tblPersonnel].[EmployeeID], Trim([FirstName] & " " & [LastName]) AS Expr1 FROM tblPersonnel WHERE ((([tblPersonnel].[Status])="Current"));
My "problem" is that when I go back to old records which have names of former employees (their status in tblPersonnel used to be "current", but now is "former"), that combo box is empty (obviously because RowSource is narrowed down to display only current employees). Is there a way to make this combo box show only current employees' names in the drop down list, but still display names of former employees when viewing (old) existing records?
This may sound like a weird request but it actually makes sense.
I want to be able only to select current employees when entering new data, but still need to be able to see it if an existing record in that combo box contains name of a former employee (that record would have been created before, when that employee was "current" but has become "former" since then).
Thanks in advance...
Hank
SELECT [tblPersonnel].[EmployeeID], Trim([FirstName] & " " & [LastName]) AS Expr1 FROM tblPersonnel WHERE ((([tblPersonnel].[Status])="Current"));
My "problem" is that when I go back to old records which have names of former employees (their status in tblPersonnel used to be "current", but now is "former"), that combo box is empty (obviously because RowSource is narrowed down to display only current employees). Is there a way to make this combo box show only current employees' names in the drop down list, but still display names of former employees when viewing (old) existing records?
This may sound like a weird request but it actually makes sense.

Thanks in advance...
Hank