I am passing a value from a combo box on a report initiation form to a
query which is the record source for the report.
My question is how do I pass the combo box value with an operator. I
want to pass this: <>59.
The query will run if I use 59, but will not run with <>59. Ideally, I
want to use the Like statement before the form's control reference in
the query criteria field so I can also run a "*" for all records. I
have tried everything I can think of but no success with the operator
and number criteria.
Thanks in advance.
Troy Lee
query which is the record source for the report.
My question is how do I pass the combo box value with an operator. I
want to pass this: <>59.
The query will run if I use 59, but will not run with <>59. Ideally, I
want to use the Like statement before the form's control reference in
the query criteria field so I can also run a "*" for all records. I
have tried everything I can think of but no success with the operator
and number criteria.
Thanks in advance.
Troy Lee
Comment