J
Justin T
hello
i have a set of numbers 1-52 in a field. when i query criteria ...between
[weekvar] and [weekvar]-13....i get the answer i need with the query: a set
of numbers.
However, when i put this same condition within an iif statement in the query
criteria, it doesn't work and comes up with no results.
iif([weekvar]>13, between [weekvar] and [weekvar]-13, 100).
The "100" answer will work, but the "between" will not query anything.
What i am trying to do is to return a set of numbers while using iif(.
I don't understand why it'll work when alone in the criteria, but not when
inside an iif(.
Forgive me for my ignorance, I am an amateur.
i have a set of numbers 1-52 in a field. when i query criteria ...between
[weekvar] and [weekvar]-13....i get the answer i need with the query: a set
of numbers.
However, when i put this same condition within an iif statement in the query
criteria, it doesn't work and comes up with no results.
iif([weekvar]>13, between [weekvar] and [weekvar]-13, 100).
The "100" answer will work, but the "between" will not query anything.
What i am trying to do is to return a set of numbers while using iif(.
I don't understand why it'll work when alone in the criteria, but not when
inside an iif(.
Forgive me for my ignorance, I am an amateur.