Sounds good, I just tried it on a sample database that I did, with the following query:
SELECT tblTimes.Person, Avg(tblTimes.time) AS AvgTime INTO tblTemp
FROM tblTimes
GROUP BY tblTimes.Person;
This is on a table called tblTimes a column for Person and time. It is a 'Make Table' query, so it will create a new table called tblTemp. In tblTemp, after the query has created it, you will need to go in and change the datatype of the AvgTime field back to Long Time, and that should give you your average. There may be an easier way, but this should get you going for now. As with any query, if you paste the SQL statement in and then go into Design mode, you can tweak it to add fields and change some of the names as needed. Yell if you need more clarification, since I know I tend to ramble on somewhat!
Good Luck
Mike
EchoVue.com
|