G
Guest
Hi all,
I have 2 fields in a table - TimeOff and TimeOn. I have been able to work
out the difference between the 2 using DateDiff, but, when the time on is set
as 00:00:00 for midnight I get the wrong answer (eg if TimeOff is 23:00:00
and TimeOn is 00:00:00 I get 23 not 1)
Secondly I can't group by the main field (AppNo) and get a total of hours.
Can anyone help on this?
Regards
Andy
I have 2 fields in a table - TimeOff and TimeOn. I have been able to work
out the difference between the 2 using DateDiff, but, when the time on is set
as 00:00:00 for midnight I get the wrong answer (eg if TimeOff is 23:00:00
and TimeOn is 00:00:00 I get 23 not 1)
Secondly I can't group by the main field (AppNo) and get a total of hours.
Can anyone help on this?
Regards
Andy