views:

21

answers:

0

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