J
Joe C
I have a query for which I want to create 1 static (mandatory)
condition and 4 optional "or" conditions but can't seem to complete.
Here is the situation:
I want to query records based on a date range Between "x" and "y". No
problem doing this. Now, I want to retrieve only those records within
that date range that have either 1 of 4 characteristics (my 4 "or"
conditions.)
For example, retrieve vendors that purchased within a stated date range
and either purchased product A,B,C or D. (Had to have purchased one of
these products can't be a vendor that did not purchase one of these
products)
Unfortunately, each time I set up the query I am forced in to making
one of the 4 characteristics as a mandatory "And" condition rather than
the 1 mandatory date range and any one of the 4 other conditions.
How can I create a query that says within X-Y date range and has 1 of 4
four possible category's.
Thanks, java
condition and 4 optional "or" conditions but can't seem to complete.
Here is the situation:
I want to query records based on a date range Between "x" and "y". No
problem doing this. Now, I want to retrieve only those records within
that date range that have either 1 of 4 characteristics (my 4 "or"
conditions.)
For example, retrieve vendors that purchased within a stated date range
and either purchased product A,B,C or D. (Had to have purchased one of
these products can't be a vendor that did not purchase one of these
products)
Unfortunately, each time I set up the query I am forced in to making
one of the 4 characteristics as a mandatory "And" condition rather than
the 1 mandatory date range and any one of the 4 other conditions.
How can I create a query that says within X-Y date range and has 1 of 4
four possible category's.
Thanks, java