C
croy
I'm stumped over what should be such a simple criteria.
A DLookup value for a field who's table is not included in
this query could return numerical values of 1 (Red), 2
(Blue), 3 (Green), or 4 (All, or Any).
In this query, I want the criteria for a field [color] to
match the lookup value, *unless* the lookup value is 4 -- in
that case, I don't want any criteria at all.
I've read that using lookups for criteria can slow things
down, but I'm not sure how to go about this otherwise.
Hints appreciated.
A DLookup value for a field who's table is not included in
this query could return numerical values of 1 (Red), 2
(Blue), 3 (Green), or 4 (All, or Any).
In this query, I want the criteria for a field [color] to
match the lookup value, *unless* the lookup value is 4 -- in
that case, I don't want any criteria at all.
I've read that using lookups for criteria can slow things
down, but I'm not sure how to go about this otherwise.
Hints appreciated.