on 06-20-2016 9:19 PM
I'm new to Crystal Reports 2013 and have taken a Level I course.
Trying to convert a String Field to a Date Field in a Formula and the String Field returns "False" when applying the IsDate Formula.
The Sring Field is in the form of "YYYYMMDD". Any help is greatly appreciated.
Try this:
if IsNumeric({string field}) then
Date(ToNumber(left({string field}, 4)), ToNumber(mid({string field}, 5, 2)), ToNumber(right({string field}, 2)))
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.