M
Maurice
Hi Guys,
Been struggling a bit on this so a pointer would be great.
Just a simple example would do..
tableA with two fields "Startdate" and "Amount"
now i need a running average in the query which would give me the following
output:
[Startdate] - [amount] - [average]
1-1-2010 - 100 - 100
2-1-2010 - 50 - 75
3-1-2010 - 60 - 70
So in the average column the last value should be the average of the sum of
the previous records and the current records (being the average of the total).
I know that the fieldnames are incorrect they are just for illustrating the
question.
any pointers appreciated.
Been struggling a bit on this so a pointer would be great.
Just a simple example would do..
tableA with two fields "Startdate" and "Amount"
now i need a running average in the query which would give me the following
output:
[Startdate] - [amount] - [average]
1-1-2010 - 100 - 100
2-1-2010 - 50 - 75
3-1-2010 - 60 - 70
So in the average column the last value should be the average of the sum of
the previous records and the current records (being the average of the total).
I know that the fieldnames are incorrect they are just for illustrating the
question.
any pointers appreciated.