Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can a Query Return a Value anyway??? 1

Status
Not open for further replies.

orna

Programmer
Apr 2, 2002
314
IL
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top