E
Ed
So, I'm making a query being used to generate a report to use as order
forms for inventory counts. This query takes data from the inventory
count, analyzes it and is *supposed* to generate a list of items with
less than a specified on-hand minimum. Right now, the fields I have in
the query are:
Item ID
Item Description
Production Unit of Measure (Units the warehoude is to count by. ie,
feet)
Quantity On Hand (This field sums all the counts for the Item ID from
each location it is counted in in Production Units. It's set with the
condition "Is Not Null" since not all items are counted in an
inventory count.)
Vendor Unit of Measure (ie, coils)
Vendor Units On Hand ([Quantity On Hand]/[Amount per Unit])
Amount per Unit(ie, feet per coil)
Minimum In Stock (In Vendor Units)
Maximum In Stock (In Vendor Units)
Amount To Order (Amount, in vendor units, needed to bring Quantity On
Hand up to Max In Stock level rounded up to nearest whole number (-Int
(-1*(([Max in Stock]*[Amt Per Unit])-[SumOfQuantity On Hand])/[Amt Per
Unit])
Minimum Order Requirement
Unit Cost
Here are the problems I'm running in to. When I run the query, a
parameter box comes up for "SumOfQuantity On Hand". If I erase the
"Vendor Units On Hand" field this paramater box doesn't show up. If I
click OK with or without entering anything into the box, the query
runs ad all the values are fine. I think what's happening is that the
query is looking for the value of "SumOfQuantity On Hand" before the
sum runs. How do I stop this box from showing up?
The amount to order box will sometimes generate negative values, when
we have more than the minimum on hand. I try to put a condition in
(">0") but then no records show up in the query. What am I doing
wrong?
Last, is there a way to default the value for "Amount to Order" to the
"Minimum Order Requirement" if the amount to order will be less than
it?
Thanks so much in advance for your help. This is my first Access
project outside a classroom and I'm a little lost without the step-by-
step textbook lessons.
forms for inventory counts. This query takes data from the inventory
count, analyzes it and is *supposed* to generate a list of items with
less than a specified on-hand minimum. Right now, the fields I have in
the query are:
Item ID
Item Description
Production Unit of Measure (Units the warehoude is to count by. ie,
feet)
Quantity On Hand (This field sums all the counts for the Item ID from
each location it is counted in in Production Units. It's set with the
condition "Is Not Null" since not all items are counted in an
inventory count.)
Vendor Unit of Measure (ie, coils)
Vendor Units On Hand ([Quantity On Hand]/[Amount per Unit])
Amount per Unit(ie, feet per coil)
Minimum In Stock (In Vendor Units)
Maximum In Stock (In Vendor Units)
Amount To Order (Amount, in vendor units, needed to bring Quantity On
Hand up to Max In Stock level rounded up to nearest whole number (-Int
(-1*(([Max in Stock]*[Amt Per Unit])-[SumOfQuantity On Hand])/[Amt Per
Unit])
Minimum Order Requirement
Unit Cost
Here are the problems I'm running in to. When I run the query, a
parameter box comes up for "SumOfQuantity On Hand". If I erase the
"Vendor Units On Hand" field this paramater box doesn't show up. If I
click OK with or without entering anything into the box, the query
runs ad all the values are fine. I think what's happening is that the
query is looking for the value of "SumOfQuantity On Hand" before the
sum runs. How do I stop this box from showing up?
The amount to order box will sometimes generate negative values, when
we have more than the minimum on hand. I try to put a condition in
(">0") but then no records show up in the query. What am I doing
wrong?
Last, is there a way to default the value for "Amount to Order" to the
"Minimum Order Requirement" if the amount to order will be less than
it?
Thanks so much in advance for your help. This is my first Access
project outside a classroom and I'm a little lost without the step-by-
step textbook lessons.