Good day Experts,
I hope I've put this in the right place. I require to calculate the time difference where a number of people have been involved in the process, the time difference being that of the first person and that of the last person in the process.
I have a query which has the following fields:
strManufacturer
strScanBatchNo
strSplitBatchNo
dtmDateIn
dtmTimeIn
dtmTimeOut
strUserID
strFormCount
dtmTimeTaken
strThroughput
I have the following three records, whereby users have accessed the same batch on the same date at different times in and out, with a form count of 100.
The form count whilst shows 100 against each UserID is in fact the total for all the UserID's collectively.
here's the data for each UserID:
strManufacturer HOTPOINT HOTPOINT HOTPOINT
strScanBatchNo 00000008 000000008 000000008
strSplitBatchNo 001 001 001
dtmDateIn 13/11/2008 13/11/2008 13/11/2008
dtmTimeIn 07:25:11 09:25:13 09:39:53
dtmTimeOut 08:40:10 09:39:53 10:15:43
strUserID carterk hirsts bloxhac
strFormCount 100 100 100
dtmTimeTaken 01:14:59 00:14:40 00:35:50
strThroughput 80 400 167
The Question
Can a query be created that calculates the difference between the dtmTimeIn for the first person in the batch of work and the dtmTimeOut for the last person out of the batch?
i.e. the difference in time between 07:25:11 and 10:15:43 which would be 02:50:32.
Your assistance would be most appreciated.
John Lee
I hope I've put this in the right place. I require to calculate the time difference where a number of people have been involved in the process, the time difference being that of the first person and that of the last person in the process.
I have a query which has the following fields:
strManufacturer
strScanBatchNo
strSplitBatchNo
dtmDateIn
dtmTimeIn
dtmTimeOut
strUserID
strFormCount
dtmTimeTaken
strThroughput
I have the following three records, whereby users have accessed the same batch on the same date at different times in and out, with a form count of 100.
The form count whilst shows 100 against each UserID is in fact the total for all the UserID's collectively.
here's the data for each UserID:
strManufacturer HOTPOINT HOTPOINT HOTPOINT
strScanBatchNo 00000008 000000008 000000008
strSplitBatchNo 001 001 001
dtmDateIn 13/11/2008 13/11/2008 13/11/2008
dtmTimeIn 07:25:11 09:25:13 09:39:53
dtmTimeOut 08:40:10 09:39:53 10:15:43
strUserID carterk hirsts bloxhac
strFormCount 100 100 100
dtmTimeTaken 01:14:59 00:14:40 00:35:50
strThroughput 80 400 167
The Question
Can a query be created that calculates the difference between the dtmTimeIn for the first person in the batch of work and the dtmTimeOut for the last person out of the batch?
i.e. the difference in time between 07:25:11 and 10:15:43 which would be 02:50:32.
Your assistance would be most appreciated.
John Lee