E
Ed Dolikian
I am stumped...
I've got a combo box in a subform (Say Employee). The
combo box does not display the key field (e.g.
Employee_ID) but displays the Employee Name. I want to
filter the employee list based on another field in the
subform (e.g. Department), thus the rowsource would
be "Select * from [Employees] where [dept] = '" forms!
[mainform]![subform].form![Dept] & "';"
It seems that whenever I move focus to a different record,
only the Employee names for the "current" department show
up in the other records. I'd like to show the Employee
Name in all records but only the Employee in the correct
Dept if I open the combo box.
If I remove the filter from the rowsouce, names appear but
my list includes all employees.
Any ideas?
I've got a combo box in a subform (Say Employee). The
combo box does not display the key field (e.g.
Employee_ID) but displays the Employee Name. I want to
filter the employee list based on another field in the
subform (e.g. Department), thus the rowsource would
be "Select * from [Employees] where [dept] = '" forms!
[mainform]![subform].form![Dept] & "';"
It seems that whenever I move focus to a different record,
only the Employee names for the "current" department show
up in the other records. I'd like to show the Employee
Name in all records but only the Employee in the correct
Dept if I open the combo box.
If I remove the filter from the rowsouce, names appear but
my list includes all employees.
Any ideas?