
Originally Posted by
kcmiuser
I am creating a little app to run a report to show elapsed time on jobs for certain employees over date ranges. I have the pass thru query functioning and bringing in all the data I need to create the reports, my problem is gettign the elapsed time value correct. I am pretty good in excel, but apparantly not so much in access.
The data comes into the wquery in the following manner
fsdatetime - 4/7/2014 7:30:00 AM (general date format)
fedatetime - 4/7/2014 1:30:00 PM
Which is 6 hours of elaposed time
So, I thought you would just subtract the 2 fields 9as you can in Excel) using an expression. Expr1 = [fsdatetime]-[fedatetime] - WRONG, I get all sorts of negative numbers that make no sense, which tells me I must need to convert the incomgin data to another format or something else.
I just do not know what the something else is???? Very confused!!!
Finally, there may be a situation where this rolls over at midnight.
Thansk in advance