Obviously, You would have to change the underlying record source of the
combobox. Perhaps something like the following.
SELECT Department
FROM Departments
WHERE (Department = "dept1" and Forms!NameOfOtherForm!Chk1=True)
OR (Department = "dept2" and Forms!NameOfOtherForm!Chk2=True)
OR (Department = "dept3" and Forms!NameOfOtherForm!Chk3=True)
OR (Department = "dept4" and Forms!NameOfOtherForm!Chk4=True)
Is there some relationship between the departments table and the other table?
John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
On 4/20/2011 6:35 AM, Wayne wrote:
Quote:
I have a combo box based on a table that has 4 entries, Dept1, Dept2, Dept3 and Dept4. How can I limit the values that the combo box displays based on 4 bound check boxes, Chk1, Chk2, Chk3 and Chk4 that are on another form? I've trawled the group and the wider web and am struggling to find an answer. |