The Situation:
I have a table that is being used for some supply inventory. There is a field for how many of an item we have on hand currently, how many are on order right now, and how many we are supposed to have (On Hand, Order Level, and Optimum Stock Level). Another field is for how many we need to order. It is called (Order). I want to have Order's value automatically pulled by First adding (on hand) and (order level) together to know how many we have and are about to have. Now if that total level of the two is still less than the (opt stock level), then I want it to subtract the sum of the first to from (op stock level) and whatever is left over, enter that as the value for order.
I.E. (On Hand = 3, Order Level = 2, Optimum Stock Level = 9)...Order should equal 4. Because we need to have 9 on hand, but only have 3, however two are on the way, so we need to order 4 more.
**************
The Problem:
In Access, when I enter in the Criteria box in Design View, the following equation:
(([Optimum Stock Level]) - (([On Hand])+([Order Level]))) all that comes up in the View area is one record, and all zeros in there. There is plenty of data available, and there is fields set up so that it should work.
Can anyone explain to me why this won't work?
Also, that's not even includeing the part that we need to have it only when (on hand + order level) is less than (optimum stock level).
?????????
Thanks,
Jim
jimbob550@hotmail.com
I have a table that is being used for some supply inventory. There is a field for how many of an item we have on hand currently, how many are on order right now, and how many we are supposed to have (On Hand, Order Level, and Optimum Stock Level). Another field is for how many we need to order. It is called (Order). I want to have Order's value automatically pulled by First adding (on hand) and (order level) together to know how many we have and are about to have. Now if that total level of the two is still less than the (opt stock level), then I want it to subtract the sum of the first to from (op stock level) and whatever is left over, enter that as the value for order.
I.E. (On Hand = 3, Order Level = 2, Optimum Stock Level = 9)...Order should equal 4. Because we need to have 9 on hand, but only have 3, however two are on the way, so we need to order 4 more.
**************
The Problem:
In Access, when I enter in the Criteria box in Design View, the following equation:
(([Optimum Stock Level]) - (([On Hand])+([Order Level]))) all that comes up in the View area is one record, and all zeros in there. There is plenty of data available, and there is fields set up so that it should work.
Can anyone explain to me why this won't work?
Also, that's not even includeing the part that we need to have it only when (on hand + order level) is less than (optimum stock level).
?????????
Thanks,
Jim
jimbob550@hotmail.com