M
Mark
Hello all,
I have a query that runs great, until I use the where clause (WHERE
((([pickpro]-[sumofqty])<>0)). When I add this it pops up the input box
for “Pickproâ€.
Here are the fields in play and below is all of the SQL.
PickPro: IIf(IsNull([qty]),0,[qty])
Provia Qty: SumOfQTY
Variance: [pickpro]-[sumofqty]
<> 0
SELECT qrProTotal.SKU, tbSkuSum.Qty, IIf(IsNull([qty]),0,[qty]) AS PickPro,
qrProTotal.SumOfQTY AS [Provia Qty], tbSkuSum.Desc, [pickpro]-[sumofqty] AS
Variance, IIf([variance]<"0",[variance]*-1,0) AS Low,
IIf([variance]>"0",[variance],0) AS High, tbSkuSum.date
FROM tbSkuSum RIGHT JOIN qrProTotal ON tbSkuSum.Item = qrProTotal.SKU
WHERE ((([pickpro]-[sumofqty])<>0));
I have a query that runs great, until I use the where clause (WHERE
((([pickpro]-[sumofqty])<>0)). When I add this it pops up the input box
for “Pickproâ€.
Here are the fields in play and below is all of the SQL.
PickPro: IIf(IsNull([qty]),0,[qty])
Provia Qty: SumOfQTY
Variance: [pickpro]-[sumofqty]
<> 0
SELECT qrProTotal.SKU, tbSkuSum.Qty, IIf(IsNull([qty]),0,[qty]) AS PickPro,
qrProTotal.SumOfQTY AS [Provia Qty], tbSkuSum.Desc, [pickpro]-[sumofqty] AS
Variance, IIf([variance]<"0",[variance]*-1,0) AS Low,
IIf([variance]>"0",[variance],0) AS High, tbSkuSum.date
FROM tbSkuSum RIGHT JOIN qrProTotal ON tbSkuSum.Item = qrProTotal.SKU
WHERE ((([pickpro]-[sumofqty])<>0));