Hello all,
I have a table where employees enter their begin and end work times.
Those two fields are calculated (in a seperate query) to give the total number of hours worked for each employee that day called "TotalHours".
In the table, the Begin Time and End Time are both date/times fields.
the TotalHours field in my query (listed below) calculates the total hours worked. This all works fine until I try and build another query to sum all the lines in my table.
TotalHours: Format([BeginOtHrs]-1-[EndOtHrs],"h\.nn")
My question is: I'm trying to make another query which will sum the total hours for all employees for a given date range but I keep getting an error message about the "totalHours" field being an invalid data type.
Can someone help me figure this out?
Thanks,
I have a table where employees enter their begin and end work times.
Those two fields are calculated (in a seperate query) to give the total number of hours worked for each employee that day called "TotalHours".
In the table, the Begin Time and End Time are both date/times fields.
the TotalHours field in my query (listed below) calculates the total hours worked. This all works fine until I try and build another query to sum all the lines in my table.
TotalHours: Format([BeginOtHrs]-1-[EndOtHrs],"h\.nn")
My question is: I'm trying to make another query which will sum the total hours for all employees for a given date range but I keep getting an error message about the "totalHours" field being an invalid data type.
Can someone help me figure this out?
Thanks,