Hi. Apologies if my lack of experience is making this a more painful experience than it should be!
ProductID is a foreign key within tblInventory.
This code appears to work:
=DCount("*","[tblInventory]","[ProductID] =" & Nz([ProductID],0))
(although only if the Allow Additions property of...