Results 1 to 5 of 5
  1. #1
    GeirA is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    10

    Time difference between rows

    Hello

    I have an Access database:

    ID Maint_Date
    1 16.11.2011 13:13:32


    2 17.11.2011 14:35:00
    3 20.11.2011 16:45:00

    I would like to calculate (in SQL) the timedifference, in minutes, between each rows.

    I have absolutely no clue how to do this - can someone please help me?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    GeirA is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    10
    Ahhh - subquery..

    Thanks a lot!!!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    No problemo!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 10
    Last Post: 12-27-2011, 01:20 PM
  2. Time Difference
    By jlclark4 in forum Queries
    Replies: 4
    Last Post: 10-13-2011, 09:23 AM
  3. working out time difference
    By moonman84 in forum Reports
    Replies: 1
    Last Post: 07-31-2011, 05:37 AM
  4. working out time difference
    By moonman84 in forum Access
    Replies: 2
    Last Post: 06-29-2011, 03:33 AM
  5. Time difference
    By jguidry in forum Programming
    Replies: 1
    Last Post: 11-15-2008, 12:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums