F
Francisco
I've a db that records diferent values of an event in diferent dates for
severall persons, and I want to know:
1 - All the average value between dates (ex: (Value2-Value1)/(Date2-Date1)
for each person)
2 - As the total records for each person is not equal, this is, I've 2
records for person A, and 12 record for person B, Iwant to know also the
first average value (of the first two dates I recoorded values) and the last
average value (of the last two dates I recorded values)
---
I've allready made two cross reference query that give me one the date for
each frequency (order number) for person:
f1 f2 f3 f4
albert 5/5/98 6/6/98 4/7/98
juan 7/8/99 9/9/99 3/10/99 5/11/99
melissa 21/7/06 21/08/06
And Values for the frequency (order number)
f1 f2 f3 f4
albert 225 234 242
juan 212 218 226 238
melissa 198 215
And Know I've (avg per day)
Avg1 Avg2 Avg3
albert 0.28 0.29
juan 0.18 0.33 0.36
melissa 0.55
And I wa't to selct automaticly:
First Avg Last Avg
albert 0.28 0.29
juan 0.18 0.36
melissa 0.55 0.55
I'm so sorry for such a long post and probably confused.
Hopefully someone can help me.
Thank you all in advance
Francisco
severall persons, and I want to know:
1 - All the average value between dates (ex: (Value2-Value1)/(Date2-Date1)
for each person)
2 - As the total records for each person is not equal, this is, I've 2
records for person A, and 12 record for person B, Iwant to know also the
first average value (of the first two dates I recoorded values) and the last
average value (of the last two dates I recorded values)
---
I've allready made two cross reference query that give me one the date for
each frequency (order number) for person:
f1 f2 f3 f4
albert 5/5/98 6/6/98 4/7/98
juan 7/8/99 9/9/99 3/10/99 5/11/99
melissa 21/7/06 21/08/06
And Values for the frequency (order number)
f1 f2 f3 f4
albert 225 234 242
juan 212 218 226 238
melissa 198 215
And Know I've (avg per day)
Avg1 Avg2 Avg3
albert 0.28 0.29
juan 0.18 0.33 0.36
melissa 0.55
And I wa't to selct automaticly:
First Avg Last Avg
albert 0.28 0.29
juan 0.18 0.36
melissa 0.55 0.55
I'm so sorry for such a long post and probably confused.
Hopefully someone can help me.
Thank you all in advance
Francisco