dandanearl
Technical User
Hello!
I'm sitting here in cleveland looking at the sun, which I haven't seen in 6 months, trying to wrap my head around this DateDiff problem. What Im trying to say is that I'm checked out, but need to finish a project!
I am looking to grab the difference in time of when a user logs in and then out for a certain period time.
example table below
securitylognum|usernum|registernum|logdate |messagetext|actionnum|subactionnum
1 105 106 5/16/13.11:10:24:2 logon 1 1
2 105 106 5/16/13.24:15:13:3 logoff 3 1
So, when a user logs in, the system creates a logdate, actionnum 1 and subactionnum 1. When the users log off logdate, actionnum 3 and subactionnum 1. What I'm struggling with is how to capture the next appropriate securitylognum to get the DateDiff.
using crystal 2008
Any help would be great. thanks.
I'm sitting here in cleveland looking at the sun, which I haven't seen in 6 months, trying to wrap my head around this DateDiff problem. What Im trying to say is that I'm checked out, but need to finish a project!
I am looking to grab the difference in time of when a user logs in and then out for a certain period time.
example table below
securitylognum|usernum|registernum|logdate |messagetext|actionnum|subactionnum
1 105 106 5/16/13.11:10:24:2 logon 1 1
2 105 106 5/16/13.24:15:13:3 logoff 3 1
So, when a user logs in, the system creates a logdate, actionnum 1 and subactionnum 1. When the users log off logdate, actionnum 3 and subactionnum 1. What I'm struggling with is how to capture the next appropriate securitylognum to get the DateDiff.
using crystal 2008
Any help would be great. thanks.