Hi everyone! Not even sure if this is possible… but I need your help, yet again!
I am stripping some large reports and the program I’m using is not exactly perfect… I have some fields where the data needs to be cleared out once it gets to Access, if it does not meet a certain format…
Specifically… I need to know how (if there is a way) to say in a query…
If [Maturity]’s format is (numeric,numeric,”/”,numeric,numeric,”/”,numeric,numeric)
Then just trim it and leave it there…
Otherwise clear the field to blanks…
My present query states:
Maturity: Trim(IIf(InStr(1,[Mat],”/”),Trim([Mat]),””))
…but as it turns out, I am being left with incorrect field values such as “EXP 8/9/” and “3/01 RES”
Sorry if this is a silly question… As always, thanks in advance!