G
Guest
I want to use an iif statement in the criteria for a query, but when "false"
I would like it to display all records.
Something like this is what makes sense to me.
iif(x>y,x,like *)
where it would filter to the value x when true, but would return all records
when false.
This does not work for me, at least with the number fields I'm trying to
work with. Nor does "x or y or z" despite that exact text working outside of
an iif statement. Is there a way to do this?
Thanks Nathan
I would like it to display all records.
Something like this is what makes sense to me.
iif(x>y,x,like *)
where it would filter to the value x when true, but would return all records
when false.
This does not work for me, at least with the number fields I'm trying to
work with. Nor does "x or y or z" despite that exact text working outside of
an iif statement. Is there a way to do this?
Thanks Nathan