Hi everyone
I hope someone can help! I have 4 combo boxes on my form, all bound to tables. They are called cboDivision, cboServiceArea, cboArea and cboTypeofService. cboDivision populates cboServiceArea (depending on your choice), which then populates cboTypeofService. cboDivision also populates cboArea, depending on which option you choose.
My problem arises now that I want cboTypeofService to be dependent on BOTH cboServiceArea and cboArea. I have the following rowsource for cboTypeofService at the moment - can you advise what I need to do to get it to work? The table that cboTypeofService is bound to doesn't currently have an associated ID for the Area table, but I can add one in easily.
I hope that I made some sort of sense and someone can help!
I hope someone can help! I have 4 combo boxes on my form, all bound to tables. They are called cboDivision, cboServiceArea, cboArea and cboTypeofService. cboDivision populates cboServiceArea (depending on your choice), which then populates cboTypeofService. cboDivision also populates cboArea, depending on which option you choose.
My problem arises now that I want cboTypeofService to be dependent on BOTH cboServiceArea and cboArea. I have the following rowsource for cboTypeofService at the moment - can you advise what I need to do to get it to work? The table that cboTypeofService is bound to doesn't currently have an associated ID for the Area table, but I can add one in easily.
Code:
SELECT [Type of Service].ID, [Type of Service].[Service Area ID], [Type of Service].[Type of Service] FROM [Type of Service] WHERE ((([Type of Service].[Service Area ID])=forms!COMPLAINTS!cboServiceArea));
I hope that I made some sort of sense and someone can help!