E
EAB1977
Hi guys,
In a query, how can I include zeros in a query? For example, I am
returning records for a the number of complaints I have for a given
department. I want to be able to include zeros in my query.
Plant Code Source Department Complaints
1 QC 4
2 CQA 5
3 FSR 0
Here's my query:
SELECT ProjectedTable.Code, ProjectedTable.SourceNum,
Sum(ProjectedTable.NumInspected) AS SumOfNumInspected,
Sum(ProjectedTable.NumWetInk) AS SumOfNumWetInk
FROM ProjectedTable
WHERE (((ProjectedTable.EnteredDate) Between #1/1/2006# And
#12/31/2006#))
GROUP BY ProjectedTable.Code, ProjectedTable.SourceNum
Any ideas?
In a query, how can I include zeros in a query? For example, I am
returning records for a the number of complaints I have for a given
department. I want to be able to include zeros in my query.
Plant Code Source Department Complaints
1 QC 4
2 CQA 5
3 FSR 0
Here's my query:
SELECT ProjectedTable.Code, ProjectedTable.SourceNum,
Sum(ProjectedTable.NumInspected) AS SumOfNumInspected,
Sum(ProjectedTable.NumWetInk) AS SumOfNumWetInk
FROM ProjectedTable
WHERE (((ProjectedTable.EnteredDate) Between #1/1/2006# And
#12/31/2006#))
GROUP BY ProjectedTable.Code, ProjectedTable.SourceNum
Any ideas?