priley
December 5th, 2006, 08:43 AM
Hi
I am new to Crystal Reports 10 and I hope that somebody can help me with this.
Basically I am trying to convert a number to hours and minutes format.
What the guys here do is enter the time spent doing a particular job into Heat. This is not in time format, but simply a number. This can be 20, or 30 or whatever. To Heat, all it is is a number but we all know it means minutes.
The field is known as {Calllog.TimeSpent}
I then run a report that displays all calls logged for a particular group with the sum of {Calllog.TimeSpent} at the end to give the Total Time Spent on that group. However this number ends up being something like 2545. I could just divide by 60, but the rounding doesn't work the way I would like.
Is there a way that Crystal reports can take the sum of this field and format so that I get this kind of result:
The sum of the field is: 245
Formatted sum of field: 4 Hrs, 5 Mins
Thanks a lot
Phil
I am new to Crystal Reports 10 and I hope that somebody can help me with this.
Basically I am trying to convert a number to hours and minutes format.
What the guys here do is enter the time spent doing a particular job into Heat. This is not in time format, but simply a number. This can be 20, or 30 or whatever. To Heat, all it is is a number but we all know it means minutes.
The field is known as {Calllog.TimeSpent}
I then run a report that displays all calls logged for a particular group with the sum of {Calllog.TimeSpent} at the end to give the Total Time Spent on that group. However this number ends up being something like 2545. I could just divide by 60, but the rounding doesn't work the way I would like.
Is there a way that Crystal reports can take the sum of this field and format so that I get this kind of result:
The sum of the field is: 245
Formatted sum of field: 4 Hrs, 5 Mins
Thanks a lot
Phil