Hey guys,
I am stumped on something that I feel should be very simple.
I have a form that runs a report based off of the store number that is in a combo box. The numbers are 1 through 8. I wanted to add another option, 'ALL', that would run the report for all of the stores.
In the query, I used the following criteria:
Code:
IIf([Forms]![Switchboard]![Store] Like "ALL",Between "01" And "21",[Forms]![Switchboard]![Store])
I am getting the "too complex" error. What is the proper way to accomplish this?
Appreciate the help.
Edit: we have stores 1-8 and a store 21 is our outlet, hence why the query goes through 21.