Hey all,
I think this is a simple fix but I am very rusty on access so I can't figure it out, even after a long haul on search engines!
Problem:
I have a single form in my db. This form has a series of drop down menus, check boxes etc etc allowing the user to select as much information they want to query against!
My end goal is to be able to submit this form, a report is opened and relevant records are shown depending on what options the user has selected.
I have attempted to use a query to acheive this, by simply using:
[Forms]![frm_stats]![cbo_location] Like [Forms]![frm_stats]![cbo_location] Is Null....which I was told would work, i.e. expecting the query to miss the form fields that were not selected....But no, the query only returns recrds based on my first combo box on my form and ignores the rest.
Wondering if anyone has any thoughts? - I don't really want to go down the route of using vba and checking each field in turn!!!!
Thanks a bunch.
I think this is a simple fix but I am very rusty on access so I can't figure it out, even after a long haul on search engines!
Problem:
I have a single form in my db. This form has a series of drop down menus, check boxes etc etc allowing the user to select as much information they want to query against!
My end goal is to be able to submit this form, a report is opened and relevant records are shown depending on what options the user has selected.
I have attempted to use a query to acheive this, by simply using:
[Forms]![frm_stats]![cbo_location] Like [Forms]![frm_stats]![cbo_location] Is Null....which I was told would work, i.e. expecting the query to miss the form fields that were not selected....But no, the query only returns recrds based on my first combo box on my form and ignores the rest.
Wondering if anyone has any thoughts? - I don't really want to go down the route of using vba and checking each field in turn!!!!
Thanks a bunch.