Hello All,
Please forgive me if this is to easy for me to figure out. I have an Access database that is being used as a report tool for and AS400 db. What I want to do is to take the values I have queried and perform some calculations on them. Here is an example!
Column Names
Resource#(not unique, and Item number)|Description(of item)|QtyRequired(of item)|QtyonHand(of item)|Date(of when item is needed).
This is a query that shows:
123|Widgets|100|45|1/1/2006
123|Widgets|100|150|2/1/2006
This is a sum query that sums the fields QtyRequired and QtyonHand and groups them by Resoure#, Description, and Date.
Simple sofar.
Now I want to report on this query.
The report has two group headers 1)Resource# and 2)Date
Resource# can be used for multple dates and each date has a different amount required but the whole resource only has a set qty of items on hand.
So from the example above the report on each detail section would have a running decrease in the QtyonHand value i.e. record 1 would show:
Resource#
123
Date:1/1/2006
QTYonHAND QTYRequired QTY Left over or need to order
100 45 55
Date:2/1/2006
QTYonHAND QTYRequired QTY Left over or need to order
55 150 -95
This seems simple but I can not wrap my mind around this.
It also needs to reset with each new resource number. I know that this should be easy but I am very puzzled. Any help would be great.
Thanks in advance.
Wes
Wes E.