Before cutting and pasting, you may want to correct my typo (I missed the
shift key). You might also want to allow for possible missing numbers. Try:
SELECT Products.ProductID, Products.ProductName,
NZ([UnitsReceived])-(NZ([UnitsSold])+NZ([UnitsShrinkage])) AS InStock
FROM Products INNER JOIN [Inventory Transactions] ON Products.ProductID =
[Inventory Transactions].ProductID
WHERE (((NZ([UnitsReceived])-(NZ([UnitsSold])+NZ([UnitsShrinkage])))=0));
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
Rapradio said:
Many thanks
I will copy and paste your solution to construct a query.
Thanks aagain