MajP
You've got your good things, and you've got mine.
- Local time
- Today, 10:54
- Joined
- May 21, 2018
- Messages
- 9,487
I am confused. Why would you expect that? Your code does not do anything like that.I expect to see like that
Your code creates a new record for the login event and then a new record for the logoff event. You have no code that would do that. You would have to check that User for an Existing Pending event prior to the LogOff and probably no other completed event between the Pending event.
Are you planning to Keep the Pending record and overwrite it as completed? Or do you just want the completed record to have the time of the login?