K
Kyle
I am trying to apply a filter to a form based on a query. I have four fields
that I would like the user to input from before applying the filter. I am
having difficulty getting the filter to display the desired result. The user
can input from 1 to 4 variables, in this case they are;
- Supplier Code
- Buyer#
- Requisitioner
- Status
So for example, the user could enter their Buyer# and select a Status
"Completed" from the drop down list to display the orders they have
completed, regardless of who the Requisitioner was or who it was placed with.
Another example may be selecting a Supplier Code from the drop down list to
display all the orders placed with a particular supplier, regardless of who
placed the order or its Status.
The unbound fields are displayed in a subform with an execute button to run
the macro. Those appear to be working fine. I am certain that there is
something wrong with the query I have created. I have tried using this
syntax for each of the variables in many different ways in the query...
[Forms]![frmQBF]![Buyer Assigned] or Is Null
I'm stumped. Any suggestions would be greatly appreciated.
Thanks, Kyle
that I would like the user to input from before applying the filter. I am
having difficulty getting the filter to display the desired result. The user
can input from 1 to 4 variables, in this case they are;
- Supplier Code
- Buyer#
- Requisitioner
- Status
So for example, the user could enter their Buyer# and select a Status
"Completed" from the drop down list to display the orders they have
completed, regardless of who the Requisitioner was or who it was placed with.
Another example may be selecting a Supplier Code from the drop down list to
display all the orders placed with a particular supplier, regardless of who
placed the order or its Status.
The unbound fields are displayed in a subform with an execute button to run
the macro. Those appear to be working fine. I am certain that there is
something wrong with the query I have created. I have tried using this
syntax for each of the variables in many different ways in the query...
[Forms]![frmQBF]![Buyer Assigned] or Is Null
I'm stumped. Any suggestions would be greatly appreciated.
Thanks, Kyle