John,
I can run an update query that will change all of the 00:60 to 01:00. This
seems to have solved the problem. However, I can't seem to sum all of my
records. I have a field called TotalTime that has about 300 records all with
the 00:00 format. This is a time clock table that give hours that employees
work. There is a field called EmployeeID. What I want to do is the group by
EmployeeId and thensum the TotalTime field to get total hours worked by
employee. I think because it is a text field it won't let me do this.
Thanks,

Signature
Chuck W
> >John,
> >
[quoted text clipped - 16 lines]
>
> John W. Vinson[MVP]
John Vinson - 08 May 2005 03:10 GMT
>John,
>
[quoted text clipped - 5 lines]
>EmployeeId and thensum the TotalTime field to get total hours worked by
>employee. I think because it is a text field it won't let me do this.
<shrug>
Of course. Text is text. As far as Access is concerned, "01:00" is a
set of five alphanumeric characters, no different than "XY#5!". It's
not a number, and it's not a time - it's text, and text is not
summable. Access doesn't know what meaning you assign to this text
string!
I'd suggest using an expression like
1440. * CDbl(CDate([TotalTime]))
CDate will change the text string to a Date/Time value (stored as a
number, days and fractions of a day); CDbl() will return a Double
Float number equal to the date/time value (e.g. 06:00 will be returned
as 0.25); 1440 will convert this to minutes. You can then sum the
minutes.
John W. Vinson[MVP]