I need to compare the time difference (gap) between one record and the next record.
The query produces data like this.
Date Time
9/1/03 15:45
9/1/03 15:46
9/1/03 16:02
9/1/03 17:08
The output should look something like...
Date Time Next Time Gap
9/1/03 15:45 15:46 1
9/1/03 15:46 16:01 15
9/1/03 16:01 17:08 1:07
9/1/03 17:08 17:22 14
Currently, I am exporting the data to Excel while concluding that there must be a way to this in Access without me ever having to export the data to Excel.
Thanks
<insert favorite joke here>
The query produces data like this.
Date Time
9/1/03 15:45
9/1/03 15:46
9/1/03 16:02
9/1/03 17:08
The output should look something like...
Date Time Next Time Gap
9/1/03 15:45 15:46 1
9/1/03 15:46 16:01 15
9/1/03 16:01 17:08 1:07
9/1/03 17:08 17:22 14
Currently, I am exporting the data to Excel while concluding that there must be a way to this in Access without me ever having to export the data to Excel.
Thanks
<insert favorite joke here>