I just tested this and it worked perfectly. Maybe you have a null or a string without all 8 numbers, so try:
if isnull({table.field}) or
trim({table.field}) = "" or
len({table.field}) < 8 then
date(0,0,0) else
date(left({table.field},4),mid({table.field},5,2),right({table.field},2))
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.