K
klnmis
I have two tables. One is items produced, the other is items sold. Each table
contains three fields. Item_nbr, Cs and Per.
I would like to make a query that shows the net effect for each item, each
period. I am looking for (cases produced - cases sold) for each period, for
each item.
How do I set up my data, queries to show information for each period? For
example; there may be production for an item in period 1 but no sales. I
would like to show 100-0=100 for that item. In period 3 there may be 80 cases
sold with no production for that period on that item. I would like to show
0-80 = (-80). In period 5 there may be 120 cases produced and 50 cases sold.
I would like to show 120 - 50 = 70.
Thank you in advance.
contains three fields. Item_nbr, Cs and Per.
I would like to make a query that shows the net effect for each item, each
period. I am looking for (cases produced - cases sold) for each period, for
each item.
How do I set up my data, queries to show information for each period? For
example; there may be production for an item in period 1 but no sales. I
would like to show 100-0=100 for that item. In period 3 there may be 80 cases
sold with no production for that period on that item. I would like to show
0-80 = (-80). In period 5 there may be 120 cases produced and 50 cases sold.
I would like to show 120 - 50 = 70.
Thank you in advance.