oxicottin
Learning by pecking away....
- Local time
- Today, 04:22
- Joined
- Jun 26, 2007
- Messages
- 870
Hello, I have two listboxes (CrewOneDelimitedEmployees) and (CrewTwoDelimitedEmployees) using the same employee list to select from. I want to be able to if I select data from (CrewOneDelimitedEmployees) then it should remove the selection from (CrewTwoDelimitedEmployees) so I can't select same data.
I figured I could in each listboxes row source add under the criteria a "Not In" for the empID but how?
Something like but doesnt work:
Not In (SELECT EmpID FROM tbl_Employee WHERE EmpD= [Forms]![frm_WeeklyAttendanceSheet]![CrewOneDelimitedEmployees])
I figured I could in each listboxes row source add under the criteria a "Not In" for the empID but how?
Something like but doesnt work:
Not In (SELECT EmpID FROM tbl_Employee WHERE EmpD= [Forms]![frm_WeeklyAttendanceSheet]![CrewOneDelimitedEmployees])
Attachments
Last edited: