E
Eric Blitzer
I have a query that calculates hours worked based on the
Time In(ATimeIn, the Timeoutfor lunch(ATimeOut, the
TimeBack from lunch(BTimeIn), and the time they
leave(BTimeOut). the problem is when someone only works a
half day. How is the way to deal with null value in the
following calculation.
TotalHours:
(DateDiff("n",[ATimeIn],[ATimeOut])+DateDiff("n",[BTimeIn],[BTimeOut]))/60
Thanks
Eric
Time In(ATimeIn, the Timeoutfor lunch(ATimeOut, the
TimeBack from lunch(BTimeIn), and the time they
leave(BTimeOut). the problem is when someone only works a
half day. How is the way to deal with null value in the
following calculation.
TotalHours:
(DateDiff("n",[ATimeIn],[ATimeOut])+DateDiff("n",[BTimeIn],[BTimeOut]))/60
Thanks
Eric