- Local time
- Today, 14:19
- Joined
- Oct 29, 2018
- Messages
- 22,515
That's why I gave you a sample DCount() expression that doesn't rely on the subform. We need to fix it, if it's not working for you.Thank you. I hear you regarding the not even getting a null.
Try it this way:= DCount("*", "[tblInventory]", "[InventoryID] =" & Nz("[tblInventory]![ProductID]", 0))
Code:
=DCount("*", "tblInventory", "[InventoryID]=" & Nz([ProductID],0))