L
Lori2836 via AccessMonster.com
Good morning. I would like the Uncosted Qty and Uncosted Value to show up
as zeros, when this query is run, instead of nothing. I'm pretty sure I
need to add the Nz, but not sure how it should be added. Below is the code.
SELECT Sum([OPS Numbers].Qty) AS [Uncosted Qty], Sum([OPS Numbers].Value) AS
[Uncosted Value], [OPS Numbers].Gross
FROM [OPS Numbers]
GROUP BY [OPS Numbers].Gross, [OPS Numbers].Costed, [OPS Numbers].Type
HAVING ((([OPS Numbers].Gross)<>"credit") AND (([OPS Numbers].Costed) Like
"Uncosted") AND (([OPS Numbers].Type) Like "N"));
Thanks!
Lori
as zeros, when this query is run, instead of nothing. I'm pretty sure I
need to add the Nz, but not sure how it should be added. Below is the code.
SELECT Sum([OPS Numbers].Qty) AS [Uncosted Qty], Sum([OPS Numbers].Value) AS
[Uncosted Value], [OPS Numbers].Gross
FROM [OPS Numbers]
GROUP BY [OPS Numbers].Gross, [OPS Numbers].Costed, [OPS Numbers].Type
HAVING ((([OPS Numbers].Gross)<>"credit") AND (([OPS Numbers].Costed) Like
"Uncosted") AND (([OPS Numbers].Type) Like "N"));
Thanks!
Lori