dbTalk Databases Forums  

Calculate time between records

comp.database.ms-access comp.database.ms-access


Discuss Calculate time between records in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dan Leeder
 
Posts: n/a

Default Calculate time between records - 09-16-2003 , 12:18 PM






I have a report that lists tasks that people have worked on with
starting and ending times. The report looks like so:

ID Task Startdate Starttime Enddate Endtime ElapsedTime
1 Receiving 9/9/03 22:00 9/10/03 1:00 3:00
2 Picking 9/10/03 2:00 9/10/03 4:00 2:00

How do I calculate the time between records(endtime of record 1 -
starttime of record 2) so the report looks like so:

ID Task Startdate Starttime Enddate Endtime ElapsedTime
1 Receiving 9/9/03 22:00 9/10/03 1:00 3:00
Time between tasks: 1:00
2 Picking 9/10/03 2:00 9/10/03 4:00 2:00

Any ideas? Thanks

Dan

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.