J
John Milbury-Steen
Why can't I use this criteria for an autonumber field of a query:
IIf(2=3, 7, *)
That is if the first condition is false, get all the records.
(I am simplifying my problem, since in the 3 terms of the IIf, the first two
actually refer to values set in a form.)
Here are some alternatives that don't work either:
IIf(2=3, 7, "*")
IIf(2=3, 7, <>0)
IIf(2=3, 7, is not null)
So, what third term can I use?
(I have also posted this in microsoft.public.access.)
IIf(2=3, 7, *)
That is if the first condition is false, get all the records.
(I am simplifying my problem, since in the 3 terms of the IIf, the first two
actually refer to values set in a form.)
Here are some alternatives that don't work either:
IIf(2=3, 7, "*")
IIf(2=3, 7, <>0)
IIf(2=3, 7, is not null)
So, what third term can I use?
(I have also posted this in microsoft.public.access.)