E
elena
Hi, All
I need to modify current query to return following result for the report.
Summary Report should look like:
Badge Unit IssueDate OTNotices Regular Total
600 24 07/18/07 0 57 57
603 03 07/18/07 14 8 22
Is it possible?
query:
TRANSFORM Nz(COUNT(TempTicks.TicketNo),0) AS CountofTicks
SELECT [Shield] AS Badge, Unit, IssueDate
FROM TempTicks
GROUP BY [Shield], Unit, IssueDate
PIVOT IIf([ViolCode]="151" Or [ViolCode]="141","OTNotices","Regular") In
("OTNotices","Regular");
Please, advice
I need to modify current query to return following result for the report.
Summary Report should look like:
Badge Unit IssueDate OTNotices Regular Total
600 24 07/18/07 0 57 57
603 03 07/18/07 14 8 22
Is it possible?
query:
TRANSFORM Nz(COUNT(TempTicks.TicketNo),0) AS CountofTicks
SELECT [Shield] AS Badge, Unit, IssueDate
FROM TempTicks
GROUP BY [Shield], Unit, IssueDate
PIVOT IIf([ViolCode]="151" Or [ViolCode]="141","OTNotices","Regular") In
("OTNotices","Regular");
Please, advice