ADODataset Parameter error



I get the error msg "Parameter MaxOfTotalTime has no default value' for the
following query. This is occuring in the GROUP BY statement. I'm trying to
select the maximum value of TotalTime for each person. Each person has
multiple time records and I need to select the highest value. Any help would
be appreciated.

I'm using D6 with MSAccess 2000 database. The sql is in
ADODataSet.Commandtext.

SELECT LASTNAME, FIRSTNAME, Max(TotalTime) AS MaxOfTotalTime
FROM TimeTable
GROUP BY LASTNAME, FIRSTNAME, MaxOfTotalTime
ORDER BY Max(TotalTime)


.