I have a text field [BOW] that contains either a Bill of Works number (I.e., "TS1483") or " 0" (two spaces and a zero) if there's no BOW #. This data is imported from a customer's .txt file. I make some updates to the data and then append to a table. I want to append "" (leave blank) if the BOW field contains " 0". I've tried the following in my append query, but they only return records where the BOW is not " 0".
Expr2: IIf([tblALERTtxt]![BOW] Like " 0","",[tblALERTtxt]![BOW])
Expr2: IIf([tblALERTtxt]![BOW] = " 0","",[tblALERTtxt]![BOW])
Expr2: IIf([tblALERTtxt]![BOW] In (" 0"),"",[tblALERTtxt]![BOW])
Can someone help me understand why this doesn't work AND what would work?
Thanks!!
Expr2: IIf([tblALERTtxt]![BOW] Like " 0","",[tblALERTtxt]![BOW])
Expr2: IIf([tblALERTtxt]![BOW] = " 0","",[tblALERTtxt]![BOW])
Expr2: IIf([tblALERTtxt]![BOW] In (" 0"),"",[tblALERTtxt]![BOW])
Can someone help me understand why this doesn't work AND what would work?
Thanks!!