I have two columns:
Plantdate Totalpower
9/26/02 6217
10/31/02 5187
11/28/02 4246
12/26/02 4132
1/23/03 4313
2/21/03 4416
3/21/03 4355
4/24/03 5189
5/22/03 4237
6/26/03 5189
8/1/03 5339
8/28/03 4157
9/25/03 4270
I need to find the average use of power for each date by finding the
number of days between each date and dividing that into the power used
on that date. (dividing each power reading by 30 days is not accurate
enough). DateDiff doesn't work as there are not different date fields.
This is all between rows. I guess a procedure is the way to go. I
haven't programmed in Visual Basic. I would appreciate any pointers
in this area.
Or Is there a simple way of setting this up as a query?
Thank you
Trinity