I'll assume that it is a type time field, and that you have a reasonably recent version of Crystal.
In the details add this formula:
whileprintingrecords;
stringvar secs:= secs+
(val(left({table.field},2))/3600)
+
(val(mid({table.field},4,2))/60)
+
val(mid({table.field},7,2));
Now at the end of the report you could use the formula in my FAQ to create the HH:MM:SS display:
Thanks for bringing me back from the edge. I've yet to try your formula in the report but I'm sure your soluton will work. I never thought of converting all to seconds then converting back to hh:mm:ss... I found another problem with this abortion that the vendor will have to decide on before I go ahead... So I will post again when your solution is implemented.
I'm having trouble converting the results back into a time format. Excuse me, but I'm hoping that you can give me some direction as I'm borrowing heavily from your work. Please take a look at the following:
FORMULA #1 (totaling the time diffeences of individual records in a group)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.