XelaIrodavlas
Registered User.
- Local time
- Today, 21:37
- Joined
- Oct 26, 2012
- Messages
- 175
Hi all,
(Please forgive my noobiness I am learning every day.) I want to be able to make a query that joins several other queries into one, but in parallel not in one column...
I have used Totals and Count to show the number of records in a table where a certain criteria is true. I have done this for several Tables.
What I want is to have a single query which shows the number of records for all these tables (with their respective criteria in tact). Such that it could then be used to form a report counting all the data.
Here are some examples of the queries i need to join:
So any ideas?
Thanks in advance
(Please forgive my noobiness I am learning every day.) I want to be able to make a query that joins several other queries into one, but in parallel not in one column...
I have used Totals and Count to show the number of records in a table where a certain criteria is true. I have done this for several Tables.
What I want is to have a single query which shows the number of records for all these tables (with their respective criteria in tact). Such that it could then be used to form a report counting all the data.
Here are some examples of the queries i need to join:
Which needs to sit next to:SELECT Count([Safety Tours].TourID) AS CountOfTourID
FROM [Safety Tours]
HAVING ((([Safety Tours].Tourdate)<=[Forms]![ReportFormWeeklyMonthly]![DateBox] And ([Safety Tours].Tourdate)>[Forms]![ReportFormWeeklyMonthly]![DateBox]-7));
SELECT Count([O2O Reports].O2OID) AS CountOfO2OID
FROM [O2O Reports]
HAVING ((([O2O Reports].DateRecorded)<=[Forms]![ReportFormWeeklyMonthly]![DateBox] And ([O2O Reports].DateRecorded)>[Forms]![ReportFormWeeklyMonthly]![DateBox]-7));
So any ideas?
Thanks in advance