D
Dennis
I have a simple count query that I would like to put a zero for a null value
for the count and also indicate the group that was counted. following is the
SQL:
SELECT [Table CCNPP Critical Spare Equip].Status, Count([Table CCNPP
Critical Spare Equip].UEI) AS CountOfUEI
FROM [Table CCNPP Critical Spare Equip]
GROUP BY [Table CCNPP Critical Spare Equip].Status
HAVING ((([Table CCNPP Critical Spare Equip].Status)="PO"));
the result would be Status = PO and if null value for Count of UEI = 0 for
any null values.
Any help would be appreciated,
Thank you,
Dennis
for the count and also indicate the group that was counted. following is the
SQL:
SELECT [Table CCNPP Critical Spare Equip].Status, Count([Table CCNPP
Critical Spare Equip].UEI) AS CountOfUEI
FROM [Table CCNPP Critical Spare Equip]
GROUP BY [Table CCNPP Critical Spare Equip].Status
HAVING ((([Table CCNPP Critical Spare Equip].Status)="PO"));
the result would be Status = PO and if null value for Count of UEI = 0 for
any null values.
Any help would be appreciated,
Thank you,
Dennis