G
Guest
Hi
I'm trying to create an inventory control setup on my order entry program. It's loosely based on the Inventory Management database that Microsoft has a template of online. I have a Units on Hand count and a Units on Order count
UnitsOnOrder = Sum(nz([UnitsOrdered]) -nz ([UnitsReceived])
UnitsOnHand = Sum(nz([UnitsReceived]) -nz ([UnitsSold])
My problem is that we often don't get the exact quantity we ordered when stock comes in. Often it is more than what we order, once in a while it might be less. This is what throws my counts off, because if I order 100 of something and receive 110, it tells me I have -10 on order. I'm not good at VBA and I've tried an If statement and it didn't work out. If someone has a solution to this I would greatly appreciate any help! Thanks in advance
Jay
I'm trying to create an inventory control setup on my order entry program. It's loosely based on the Inventory Management database that Microsoft has a template of online. I have a Units on Hand count and a Units on Order count
UnitsOnOrder = Sum(nz([UnitsOrdered]) -nz ([UnitsReceived])
UnitsOnHand = Sum(nz([UnitsReceived]) -nz ([UnitsSold])
My problem is that we often don't get the exact quantity we ordered when stock comes in. Often it is more than what we order, once in a while it might be less. This is what throws my counts off, because if I order 100 of something and receive 110, it tells me I have -10 on order. I'm not good at VBA and I've tried an If statement and it didn't work out. If someone has a solution to this I would greatly appreciate any help! Thanks in advance
Jay