I have a table called "form" in ms access which have following fields: formno, location, status.
I want to create a report which calculates:
- the total no of forms(columns) at each location
- the total no of forms(columns) with status= "pending" at each location.
I tried to do it with this query:
select count(formno) as totalforms
from form
group by location;
select count(formno) as pendingforms
from form
group by location
WHERE status = 'pending';