Y
Yaac
I have an inventory table with the following feilds
InventoryTransactionID
ProductID
UnitsReceived
UnitsSold
UnitsShrinkage
I would like to create a query to give me an inventory for each product that
i can reference to in a UnitsInStock control in a Product form.
I have tried the following with no success. What am i doing wrong?
UnitsInStock : =Sum(nz([UnitsReceived])-nz([UnitsShrinkage])-nz([UnitsSold]))
I get this error "You tried to execute a query that does not include the
specified expression <name> as part of an aggregate function." (Error 3122)
Thanks for any help you can give me.
InventoryTransactionID
ProductID
UnitsReceived
UnitsSold
UnitsShrinkage
I would like to create a query to give me an inventory for each product that
i can reference to in a UnitsInStock control in a Product form.
I have tried the following with no success. What am i doing wrong?
UnitsInStock : =Sum(nz([UnitsReceived])-nz([UnitsShrinkage])-nz([UnitsSold]))
I get this error "You tried to execute a query that does not include the
specified expression <name> as part of an aggregate function." (Error 3122)
Thanks for any help you can give me.