Hello, I'm relativley new to crystal and reporting. I'm sure I am over thinking this, but am not having any luck. Basically, I have a time value formatted as text, and times are stored as the number of seconds since midnight. I need to convert this text to a number, and then add to those seconds 00:00:00 (12:00am) to show the actual time of day.
This is what i have written, but all i get back is, "12:00:00AM"
//Looks for only fields with time
If {table.field} =10
//Convert text to number, number in seconds to time
then TimeValue (tonumber({table.field}))
Any thoughts would be greatly appreciated!
This is what i have written, but all i get back is, "12:00:00AM"
//Looks for only fields with time
If {table.field} =10
//Convert text to number, number in seconds to time
then TimeValue (tonumber({table.field}))
Any thoughts would be greatly appreciated!