Hi, I have the following code in a field -
if PreviousIsNull ({VW_EVT_AGENT_PERF.EAP_STAFF}) OR
Previous ({VW_EVT_AGENT_PERF.EAP_STAFF}) <> {VW_EVT_AGENT_PERF.EAP_STAFF} OR
Previous ({VW_EVT_AGENT_PERF.EAP_SIGN_IN_TIME}) <> {VW_EVT_AGENT_PERF.EAP_SIGN_IN_TIME}
then
RISecondsToHMS ({VW_EVT_AGENT_PERF.EAP_TOT_SIGN_IN_TIME})
else
""
This gives me the amount of time that an agent has spent in certain states, ie break lunch etc etc.
In a day they have 2 breaks and CR lists each break. What I want is the total for the breaks or in other words a sum of th etime according to the 'State' group that I have....but I cant get it to sum. It just keeps asking for a Number field.
Any ideas as to how I can achieve what I need??
Many many thanks in advance
Steven
if PreviousIsNull ({VW_EVT_AGENT_PERF.EAP_STAFF}) OR
Previous ({VW_EVT_AGENT_PERF.EAP_STAFF}) <> {VW_EVT_AGENT_PERF.EAP_STAFF} OR
Previous ({VW_EVT_AGENT_PERF.EAP_SIGN_IN_TIME}) <> {VW_EVT_AGENT_PERF.EAP_SIGN_IN_TIME}
then
RISecondsToHMS ({VW_EVT_AGENT_PERF.EAP_TOT_SIGN_IN_TIME})
else
""
This gives me the amount of time that an agent has spent in certain states, ie break lunch etc etc.
In a day they have 2 breaks and CR lists each break. What I want is the total for the breaks or in other words a sum of th etime according to the 'State' group that I have....but I cant get it to sum. It just keeps asking for a Number field.
Any ideas as to how I can achieve what I need??
Many many thanks in advance
Steven