G
Gaetanm via AccessMonster.com
I"m trying to have a total hours form two Date/Time fields
that will come up as hh.nn total. I'm getting this error message
and unfortunately I don't understand it maybe someone can help?
Here is what I have so far:
SELECT Clock_Table.StartDate, Clock_Table.StopDate, SUM(DateDiff("n",
[Startdate],[StopDate]))/60 AS test
FROM Clock_Table;
Here is the error message:
'You tried to execute a query that does not include the specified expression
"Startdate" as part of an aggregate function'
I know the above code won't get me hh.nn but I need to get there.
Thanks
Gaetanm
that will come up as hh.nn total. I'm getting this error message
and unfortunately I don't understand it maybe someone can help?
Here is what I have so far:
SELECT Clock_Table.StartDate, Clock_Table.StopDate, SUM(DateDiff("n",
[Startdate],[StopDate]))/60 AS test
FROM Clock_Table;
Here is the error message:
'You tried to execute a query that does not include the specified expression
"Startdate" as part of an aggregate function'
I know the above code won't get me hh.nn but I need to get there.
Thanks
Gaetanm