this query is part of a union query:
SELECT "<10" AS range, Count(*) AS [Count]
FROM C LEFT JOIN A ON C.NUMB = A.NUMB
WHERE DateDiff("d",[C].[InsertDate],[CLOSEDATE]<=10
AND A.UNIT_CODE = Me!UNIT
GROUP BY 1;
is there a way to force the query to return zero as count
when no records meet the cretaria?
(i send this query to an excel chart and need all columns
to have value)
TIA
SELECT "<10" AS range, Count(*) AS [Count]
FROM C LEFT JOIN A ON C.NUMB = A.NUMB
WHERE DateDiff("d",[C].[InsertDate],[CLOSEDATE]<=10
AND A.UNIT_CODE = Me!UNIT
GROUP BY 1;
is there a way to force the query to return zero as count
when no records meet the cretaria?
(i send this query to an excel chart and need all columns
to have value)
TIA