Thanks Duane,
The table is rather large with very similar fields.
QRY_Evaluation
SELECT QRY_Evaluation.Month, QRY_Evaluation.DistrictName,
QRY_Evaluation.System, QRY_Evaluation.[Supervisor's Name],
QRY_Evaluation.TechID, QRY_Evaluation.[Technician's Name],
Count(IIf([a1]=-
1,[a1])) AS CT_OF_A1, Count(IIf([a2]=-1,[a2])) AS CT_OF_A2,
Count(IIf([a3]=-
1,[a3])) AS CT_OF_A3, Count(IIf([a4]=-1,[a4])) AS CT_OF_A4,
Count(IIf([a5]=-
1,[a5])) AS CT_OF_A5, Count(IIf([a6]=-1,[a6])) AS CT_OF_A6,
Count(IIf([a7]=-
1,[a7])) AS CT_OF_A7, Count(IIf([a8]=-1,[a8])) AS CT_OF_A8,
Count(IIf([a9]=-
1,[a9])) AS CT_OF_A9, Count(IIf([a10]=-1,[a10])) AS CT_OF_A10, Count(IIf(
[a11]=-1,[a11])) AS CT_OF_A11, Count(IIf([a12]=-1,[a12])) AS CT_OF_A12,
Count(IIf([a13]=-1,[a13])) AS CT_OF_A13, Count(IIf([a14]=-1,[a14])) AS
CT_OF_A14, Count(IIf([a15]=-1,[a15])) AS CT_OF_A15,
Count(IIf([a16]=-1,[a16]
)) AS CT_OF_A16, Count(IIf([a17]=-1,[a17])) AS CT_OF_A17,
Count(IIf([a18]=-
1,[a18])) AS CT_OF_A18, Count(IIf([a19]=-1,[a19])) AS CT_OF_A19,
Count(IIf(
[b1]=-1,[b1])) AS CT_OF_b1, Count(IIf([b2]=-1,[b2])) AS CT_OF_b2,
Count(IIf
([b3]=-1,[b3])) AS CT_OF_b3, Count(IIf([b4]=-1,[b4])) AS CT_OF_b4, Count
(IIf([b5]=-1,[b5])) AS CT_OF_b5, Count(IIf([b6]=-1,[b6])) AS CT_OF_b6,
Count(IIf([b7]=-1,[b7])) AS CT_OF_b7, Count(IIf([b8]=-1,[b8])) AS
CT_OF_b8,
Count(IIf([b9]=-1,[b9])) AS CT_OF_b9, Count(IIf([b10]=-1,[b10])) AS
CT_OF_b10, Count(IIf([b11]=-1,[b11])) AS CT_OF_b11,
Count(IIf([b12]=-1,[b12]
)) AS CT_OF_b12, Count(IIf([b13]=-1,[b13])) AS CT_OF_b13,
Count(IIf([b14]=-
1,[b14])) AS CT_OF_b14, Count(IIf([b15]=-1,[b15])) AS CT_OF_b15,
Count(IIf(
[b16]=-1,[b16])) AS CT_OF_b16, Count(IIf([b17]=-1,[b17])) AS CT_OF_b17,
Count(IIf([c1]=-1,[c1])) AS CT_OF_c1, Count(IIf([c2]=-1,[c2])) AS
CT_OF_c2,
Count(IIf([c3]=-1,[c3])) AS CT_OF_c3, Count(IIf([c4]=-1,[c4])) AS
CT_OF_c4,
Count(IIf([c5]=-1,[c5])) AS CT_OF_c5, Count(IIf([c6]=-1,[c6])) AS
CT_OF_c6,
Count(IIf([c7]=-1,[c7])) AS CT_OF_c7, Count(IIf([c8]=-1,[c8])) AS
CT_OF_c8,
Count(IIf([c9]=-1,[c9])) AS CT_OF_c9, Count(IIf([c10]=-1,[c10])) AS
CT_OF_c10, Count(IIf([c11]=-1,[c11])) AS CT_OF_c11
FROM QRY_Evaluation
WHERE (((QRY_Evaluation.Month) Like [Forms]![FRM_ItemsMissedForm]![Month]
&
"*") AND ((QRY_Evaluation.System) Like [Forms]![FRM_ItemsMissedForm]!
[System] & "*") AND ((QRY_Evaluation.TechID) Like [Forms]!
[FRM_ItemsMissedForm]![TechID] & "*"))
GROUP BY QRY_Evaluation.Month, QRY_Evaluation.DistrictName,
QRY_Evaluation.System, QRY_Evaluation.[Supervisor's Name],
QRY_Evaluation.TechID, QRY_Evaluation.[Technician's Name]
ORDER BY QRY_Evaluation.System, QRY_Evaluation.TechID;
Display
Month
DistrictName
System
TechID TechID TechID TechID TechID TechID......
Ct_of_a1 Ct_of_a1 Ct_of_a1
Ct_of_a2 Ct_of_a2 Ct_of_a2