Hi,
I'm trying to produce a subtotal in a query to compare it to another field to determine whether to include the record or not.
For example, in my table I'd have,
ProductA 3(units) Lot1
ProductA 4(units) Lot2
ProductB 2(units) Lot3
ProductA would also have a minimum inventory level of 6 in another table. So the parameter I would like to create would sum all the different lots of ProductA and compare it to the MinLevel entry.
Any ideas?
I'm trying to produce a subtotal in a query to compare it to another field to determine whether to include the record or not.
For example, in my table I'd have,
ProductA 3(units) Lot1
ProductA 4(units) Lot2
ProductB 2(units) Lot3
ProductA would also have a minimum inventory level of 6 in another table. So the parameter I would like to create would sum all the different lots of ProductA and compare it to the MinLevel entry.
Any ideas?