Viewing 4 posts - 1 through 5 (of 5 total)
thanks everyone! got it to work....
local stringvar audit_time;
audit_time := trim({AUDIT_TRAIL.AUDIT_TIME});
left(audit_time,2) & ":" & mid(audit_time, 3,2) & ":" & right(audit_time, 2)
May 20, 2010 at 7:50 am
I'm working in crystal reports. the tables are already set up. Thanks.
May 19, 2010 at 10:10 am
I am really new at this and could not get it to work. this is what I entered and keep receiving error msg
select audit_time ( audit_time(cast(audit_time as varchar),2,0,':') , 5,0,':')
May 19, 2010 at 10:08 am
the field to convert is called audit_time. the output format is 015136. it should be 01:51:36
May 19, 2010 at 9:38 am
Viewing 4 posts - 1 through 5 (of 5 total)