Hi Group,
I have a problem and I don't know whether it is better solved via a
query or a bit of VBA programming. Given a table T with fields DATE and
AMOUNT and I want to create one other table O containing for each DATE
(except the smallest) from T the DATE and the difference from that
DATE's amount and the next smaller DATE's amount. And I want still
another table S which contains for each DATE the DATE and the sum of
all AMOUNTs for that DATE and all the smaller DATEs.
I can image how to do the first one with a query that contains TABLE
twice, but for the second one I don't have an idea.
Can you give my an hints or advice from experience?
thanks,
Robert