If all three queries have the same columns, you can use a UNION or UNION ALL
to combine them. It would look something like:
Query 1 UNION Query 2 UNION Query 3.
The restriction is that each Query must have the same number, type and order
of fields in the respective field lists; i.e., if Query 1 asks for a numeric
and a date, than the other 2 must also.
The difference between UNION and UNION ALL is the handling of duplicate
records. UNION will remove them; UNION ALL, as the name implies, shows them
all.
And you don't owe me at all. This is simply a great place and way to learn
and expand horizons. There are some things that people ask questions about
that I never thought of doing.
--
Chaim
Gary T via AccessMonster.com said:
Chaim said:
Replace the HAVING clause with the following:
Where TRAINING.Entry_Date between [Enter the Beginning Date] and [Enter The
Ending Date]
What you have is asking for the count to be between the two dates.
Are you talking about a select that looks like:
[quoted text clipped - 11 lines]
When I run it, it pulls up nothing.
Is there a way to combine 3 of these queries into one?