Hi, I am still having problems here. I have two business objects, one called OperatorLoggedIn and the other Operator Log.
The first I want to use to create an entry when the operator logs on and then delete it when they log off. This will allow a show logged in users report.
The other is an on going record of User login and logout.
1)
CREATE OperatorLoggedIn WITH OperatorLoggedIn.LoggedInName=LoginNotification.LoginName
CREATE OperatorLog WITH OperatorLog.LoggedInUser=LoginNotification.LoginName,OperatorLog.Logged=CURRENT_TIMESTAMP,OperatorLog.Action='In'
2)
FIND OperatorLoggedIn WHERE OperatorLoggedIn.LoggedInName=LogoutNotification.LoginName
DELETE OperatorLoggedIn
CREATE OperatorLog WITH OperatorLog.LoggedInUser=LogoutNotification.LoginName,OperatorLog.Logged=CURRENT_TIMESTAMP,OperatorLog.Action='Out'
Can you advise what I am doing wrong.
Thanks