Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spit a field value then concatenate with colon separators 3

Status
Not open for further replies.

elsenorjose

Technical User
Oct 29, 2003
684
US
Hello all,

I've searched the forum for this but I might not be using the correct terminology because I'm not finding a solution. Basically, I have a field that stores a HH:MM:SS value but with no colon. So, 12:24:59 is literally 122459. I want to take the value and display it as HH:MM:SS. I'm using CR XI R2 on a SQL Server 2005 database.

Thank you.
 
Found the solution. The formula is as follows:

Code:
CTime(Picture({field}, "xx:xx:xx"))

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top