A
ablatnik via AccessMonster.com
Currently I have a simple query that runs calculations for my work orders
database. I am pasteing the SQL version for Access 2007.
Right now I have a macro that opens 36 reports (hidden) based off of 36
queries. 4 queries per Division to find out what work orders are currently
open under 30 days, over 30 days, over 60 & over 90 days.
I am trying to create a croostab, with not much success. Any ideas?
My thinking is to get a crosstab to report these numbers to reduce the amount
of time running the reports as well as memory congestion. Needless to say
when I start pickup up more work divisions.
SELECT Count([Work Orders].ID_Numbers) AS [Total Carpenters Active +30]
FROM Status INNER JOIN (Department INNER JOIN [Work Orders] ON Department.
Department_ID = [Work Orders].Department) ON Status.Status_ID = [Work Orders].
Status
HAVING (((Department.Department)="carpenters") AND ((Status.Status)="active"
Or (Status.Status)="On Hold" Or (Status.Status)="Pending" Or (Status.Status)
="Active - Damaged") AND (([Work Orders].[Date Opened])<Date()-30));
database. I am pasteing the SQL version for Access 2007.
Right now I have a macro that opens 36 reports (hidden) based off of 36
queries. 4 queries per Division to find out what work orders are currently
open under 30 days, over 30 days, over 60 & over 90 days.
I am trying to create a croostab, with not much success. Any ideas?
My thinking is to get a crosstab to report these numbers to reduce the amount
of time running the reports as well as memory congestion. Needless to say
when I start pickup up more work divisions.
SELECT Count([Work Orders].ID_Numbers) AS [Total Carpenters Active +30]
FROM Status INNER JOIN (Department INNER JOIN [Work Orders] ON Department.
Department_ID = [Work Orders].Department) ON Status.Status_ID = [Work Orders].
Status
HAVING (((Department.Department)="carpenters") AND ((Status.Status)="active"
Or (Status.Status)="On Hold" Or (Status.Status)="Pending" Or (Status.Status)
="Active - Damaged") AND (([Work Orders].[Date Opened])<Date()-30));