• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

Converting a time field into a number

How can I convert a  time field in Crystal Report to be a number field.

I have a time field in secinds and I need it be a nubmer field so I can divide against it.
1 Solution
I have a feeling Crystal Reports can only provide data in the format in which the source data is kept.  If you change the source data that will fix it.  Of course if you are running this straight from a source table then that may not be a feasible exercise, so you may want to use a view as your source and use a CONVERT statement in the SELECT clause to convert your field to numbers.
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now