G
Guest
How do I count a count??
This is what im trying to do:
I have a database with a table named tblMain and has incorporated everything
within that table but contains info from about 8 other tables. I have not
doesigned this database and it appears to have a very poor structure...anyway
There are three fields involved in this process...'Request' (either
'dispensation', 'waiver' or 'dispensation and waiver'), 'Department' (which
consists of 7 other drop down menu options) and 'RequestStatus' which
contains the status of each request by another drop down menu. I am looking
to count the number of dispensations and waivers in each department and then
count the number at each of the different stages. For example
If department 1 had 4 requests, 2 for disps, 1 for a waiver and 1 for both
and 1 disp request was at status 1, the other at status 2, the waiver at
status 3 and the request for both at status 4. Could I write a query that
displays all that.
I have wrote a query that counts the number of requests in each status for
the department but does not seperate between disps and waivers. I have also
wrote a query that counts disps for a department but I would like a
combination of the 2.
I hope this is clearer than I think it sounds
Thanks
This is what im trying to do:
I have a database with a table named tblMain and has incorporated everything
within that table but contains info from about 8 other tables. I have not
doesigned this database and it appears to have a very poor structure...anyway
There are three fields involved in this process...'Request' (either
'dispensation', 'waiver' or 'dispensation and waiver'), 'Department' (which
consists of 7 other drop down menu options) and 'RequestStatus' which
contains the status of each request by another drop down menu. I am looking
to count the number of dispensations and waivers in each department and then
count the number at each of the different stages. For example
If department 1 had 4 requests, 2 for disps, 1 for a waiver and 1 for both
and 1 disp request was at status 1, the other at status 2, the waiver at
status 3 and the request for both at status 4. Could I write a query that
displays all that.
I have wrote a query that counts the number of requests in each status for
the department but does not seperate between disps and waivers. I have also
wrote a query that counts disps for a department but I would like a
combination of the 2.
I hope this is clearer than I think it sounds
Thanks