In MS Access, I want to use a Form to drive the multiple filtering criteria for a query. In each of the combo boxes, I added null values for users to leave blank as not all criteria need a specified value
Currently, I am able to filter on the first field [Type of Agreement], but cannot get the Sponsor field to work. This prevents me from even trying to filter based on the other fields. As a starting point, this is what I have:
SELECT TestInPut.[Type of Agreement], TestInPut.Sponsor, TestInPut.[Proposal Title], TestInPut.Div, TestInPut.[Award Status],
FROM TestInPut
WHERE ((TestInput.[Type of Agreement])=Forms!Console!SelectType) Or ((Forms!Console!SelectType) Is Null);
I tried the following solution, but my code did not apply if I chose a value in the Sponsor combo box: https://stackoverflow.com/a/19568169
How can I develop my code properly?
Thanks.