Having trouble with an Update Query. Using two text format fields, trying to change a DOB field to NewDOB field formatted using xx/xx/xx.
DOB field examples:
92115
111015
81714
102315
Using this formula I get bad results, as they do not seem to recognize all the numbers.
IIf(("Len[DOB]=5"),Left([DOB],1),Left([DOB],2)) & "/" & IIf("Len[DOB]=5",Mid([DOB],2,2),Mid([DOB],3,2)) & "/" & Right([DOB],2)
Examples of results I am getting:
Any help on this formula or problem would be appreciated.
Thanks,
Bob
Win 10 Pro
Access 2016