ramnewbietoaccess
Programmer
I have a table which stores products, a table which stores the number of each product a territory office has projected it will need, and a table which stores actual orders. On a report I am trying to show the number projects by month, the actual number ordered by month, and then the unused amount remaining by month. My problem is this....each time a new order number is entered it creates a new line so that the unused is calculated per line instead of as some sort of running sum as this:
(Report is grouped by store number and then by product)
This is an example of orders for one store
Projected Ordered Unused
Ord 1 Staplers 4 2 2
Ord 2 Staplers 4 2 2 (instead of zero)
I have played around with running sums but I can't seem to stumble on the correct way to do it.
Any suggestions? I thank you in advance. Sorry if this is confusing.
(Report is grouped by store number and then by product)
This is an example of orders for one store
Projected Ordered Unused
Ord 1 Staplers 4 2 2
Ord 2 Staplers 4 2 2 (instead of zero)
I have played around with running sums but I can't seem to stumble on the correct way to do it.
Any suggestions? I thank you in advance. Sorry if this is confusing.