Hi, LCK
I'd suggest (but beware I am not an expert at all in Access: just
trying to use common sense) that you add a missing piece of information
(the dates where you want to do the calculation).
For instance You can add a small table with 1 field (Period) and the
following data (it holds in general if you have different time
occasions):
------ Table DatesMo --------
01/01/2006
01/02/2006
01/03/2006
01/04/2006
01/05/2006
---------------------------------------
Then it should be simple to make a join which yelds your result (you
probably need a right outer join followed by an inner join). The
EndingStock can be obtained, I guess, by subtraction from the
InitialStock of the cumulative Consumption. The latter can be obtained
by a simple subselect.
Clearly there are many other ways to do that, and I am sure the many
experts that are here will be able to advise you regarding the very
best way...
-tom
LCK ha scritto:
> Hi,
> I'd appreciate if you could help me to perform the following
[quoted text clipped - 25 lines]
> Regards
> LC