Using Crystal Reports to display a Timespan field

I have a client who is using Crystal Reports 11 to create reports from an MS SQL database.  One of the tables contains some timespan fields, which just display as long integers when dropped onto a crystal report.

How does he (or I) format a timespan in Crystal so that is appears as HH:mm:ss format?
LVL 1
WestcountryBusinessAsked:
Who is Participating?
 
Wasim Akram ShaikCommented:
check elapsed_time function here .. this could be of help

http://www.cogniza.com/wordpress/2005/11/29/crystal-reports-elapsedtime-function/
0
 
mlmccCommented:
DO you know what the numbers represent?

If it is the number of seconds the above formulas will work.  If they represent something else then a different formula is required.

mlmcc
0
 
WestcountryBusinessAuthor Commented:
Its a timespan field, created in VB.Net, coverted to ticks and saved as a System.Int64, so I think that formula will work.  I'll test it.  Thanks.
0
 
mlmccCommented:
I've requested that this question be closed as follows:

Accepted answer: 250 points for Wasim Akram Shaik's comment #a39994018

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 
WestcountryBusinessAuthor Commented:
Sorry I completely forgot about this.  Yes, that solution worked.  Happy to close and award points to wasimibm.  Thanks everyone for the help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.