Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
WhilePrintingRecords;
StringVar Hours1;
StringVar Minutes1;
StringVar Seconds1;
NumberVar TalkTime:=0;
TalkTime:={iAgentPerformanceStat.TalkTime};
If TalkTime < 0 Then
"Cannot have a time less than zero"
Else
(
|this is where it places error| (Hours1:=ToText(Truncate(TalkTime/3600),0);
Minutes1:=ToText(Truncate(Remainder(TalkTime,3600)/60),0);
Seconds1:=ToText(Remainder(Remainder(TalkTime,3600),60),0));
//Display the time formated.
(if length(Hours1) < 2 then '0') + Hours1 + ":" +
["0",""][length(Minutes1)] + Minutes1 + ":" +
["0",""][length(Seconds1)] + Seconds1;
)