Have you tried a formula with Time({your.string})? Should work.
Failing that, you could use Left, Mid and Right to split the string and re-assemble it as a time. But it should not be necessary.
It helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options.
Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10
Hi there, sorry I'm running CR 2008. I've tried the Time {field}option but it just returns 0's. I guess it needs to be split out but not sure how to do that?
Try Time(ToNumber({your.string})). Otherwise split the hours, minutes and seconds, adjusting the split using Len which will say if the string is 5 or 6. Then re-assemble within a Time command. Your Crystal Help should give you the details
Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.