I do not know if my question is clear enough, so please bear with me:
I have a table with the following fields of information:
Year[tab]Month[tab]ClosingStock
2009[tab]1[tab][tab][tab]1000
2009[tab]2[tab][tab][tab]1500
I want to calculate what was produced, and that is done by subtracting the previous months closing stock from this months closing stock. I want to do that in a query, and end up with a query result as follow:
Year[tab]Month[tab]OpeningStock[tab]ClosingStock[tab]Produced
2009[tab]1[tab][tab][tab]0 [tab][tab][tab][tab][tab]1000[tab][tab][tab][tab]1000
2009[tab]2[tab][tab][tab]1000[tab][tab][tab][tab]1500[tab][tab][tab][tab]500
Is that possible??
I have a table with the following fields of information:
Year[tab]Month[tab]ClosingStock
2009[tab]1[tab][tab][tab]1000
2009[tab]2[tab][tab][tab]1500
I want to calculate what was produced, and that is done by subtracting the previous months closing stock from this months closing stock. I want to do that in a query, and end up with a query result as follow:
Year[tab]Month[tab]OpeningStock[tab]ClosingStock[tab]Produced
2009[tab]1[tab][tab][tab]0 [tab][tab][tab][tab][tab]1000[tab][tab][tab][tab]1000
2009[tab]2[tab][tab][tab]1000[tab][tab][tab][tab]1500[tab][tab][tab][tab]500
Is that possible??