Hello. We have changed string data to look like a short date format as follows, but when we add parameters to look for dates between a BeginDate and EndDate, we find this field is not being treated like a date and returns the wrong values. We have looked and looked for a solution. Can someone explain the error of our ways? We have set the property of this field as Short Date, but still it doesn't work. We have also used DateValue in place of CDate. No luck with that either.
Expr2: CDate(Left([Next Maturity Date],Len([Next Maturity Date])-4) & "/" & Left(Right([Next Maturity Date],4),2) & "/" & Right([Next Maturity Date],2))
Thanks in advance.
Tracey
Expr2: CDate(Left([Next Maturity Date],Len([Next Maturity Date])-4) & "/" & Left(Right([Next Maturity Date],4),2) & "/" & Right([Next Maturity Date],2))
Thanks in advance.
Tracey