MS-Access 2007 Time Online Report

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-03-31T06:57:28Z Indexed on 2010/03/31 7:03 UTC
Read the original article Hit count: 604

Filed under:
|
|
|
|

I have the following data in my database:

MemberID  |  DateTime
-------------------------------------
1         |  31/03/2010 3:45:49 PM
2         |  31/03/2010 3:55:29 PM
1         |  31/03/2010 4:45:49 PM

Every time a user is authenticated or un-authenticated this log appears in the database. What I want to be able to do is total the time for a given user and date.

Member 1 was online for 1 hour and 37 minutes.

I would like to do this with sql as a report in access 2007 if anyone could help, that would be appreciated.

Cheers, Daniel

© Stack Overflow or respective owner

Related posts about sql

Related posts about ms-access