WeeZaliban
New Member
- Joined
- Jul 26, 2013
- Messages
- 16
I am using the following SELECT statement to remove unwanted characters from a field. However, if the field is blank, a #Error is populated. Can anyone help me with a workaround for this?
SELECT MID(table.column,Instr(table.column,"badtext")+3,LEN(table.column)-Instr(table.column,"badtext")) AS [New Field] FROM table
As this is, I get the results that I need; but, like I stated before, I get #Error's for fields without entries.
Thanks in advance!
WeeZ
SELECT MID(table.column,Instr(table.column,"badtext")+3,LEN(table.column)-Instr(table.column,"badtext")) AS [New Field] FROM table
As this is, I get the results that I need; but, like I stated before, I get #Error's for fields without entries.
Thanks in advance!
WeeZ