I have a numeric field used for the date on a Pervasive SQL Server v9. The field is numeric and is format 20060101. I need to convert this to a mm/dd/yyyy field to use in Crystal Reports 9. Can this be done in Crystal?
When I enter this formula
cdate(val(left{ARCUSFIL.CUS_LAST_SALE_DT},4)),val(mid({ARCUSFIL.CUS_LAST_SALE_DT},5,2)),val(mid({ARCUSFIL.CUS_LAST_SALE_DT},7,2))I get an error that a ) is missing at the end of the formula. If I enter a ), it tells me there is another ) missing after the last ) I just put in.
dgillz - I am curious about your reference to the NumberToDate() function in Crystal. It's not in version 10 and I can't locate any documentation about it. Could you provide more details please?
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.