Hi,
Below is my code from a field that I want to sum. But when ever I attempt to create a new field to do the summing, all i get is an error message saying field cannot be summarised
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
if( Previous({VW_EVT_AGENT_PERF.EAP_SIGN_OUT_REASON_TEXT}) = "BREAK" )then
RIDTSToSeconds({VW_EVT_AGENT_PERF.EAP_SIGN_IN_TIME}) - RIDTSToSeconds(Previous({VW_EVT_AGENT_PERF.EAP_SIGN_OUT_TIME}))
else
0
Why is this the case?
Hope someone can help
TIA
Steven
Below is my code from a field that I want to sum. But when ever I attempt to create a new field to do the summing, all i get is an error message saying field cannot be summarised
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
if( Previous({VW_EVT_AGENT_PERF.EAP_SIGN_OUT_REASON_TEXT}) = "BREAK" )then
RIDTSToSeconds({VW_EVT_AGENT_PERF.EAP_SIGN_IN_TIME}) - RIDTSToSeconds(Previous({VW_EVT_AGENT_PERF.EAP_SIGN_OUT_TIME}))
else
0
Why is this the case?
Hope someone can help
TIA
Steven