Hello!
I need to find extraneous characters in a field and remove all of them. I want to create a new field that will contain the field with all extraneous characters removed. I was given the following code but it does not work:
SELECT VIEW_SPECIAL_MAIN.ITEM
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"-"),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"."),
REPLACE (VIEW_SPECIAL_MAIN.ITEM," "),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"/"),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"\"),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"("),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,")"),
IIF((MID(VIEW_SPECIAL_MAIN.ITEM,1)="X"),(MID(VIEW_SPECIAL_MAIN.ITEM,2)) )
FROM VIEW_SPECIAL_MAIN;
Thanks
I need to find extraneous characters in a field and remove all of them. I want to create a new field that will contain the field with all extraneous characters removed. I was given the following code but it does not work:
SELECT VIEW_SPECIAL_MAIN.ITEM
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"-"),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"."),
REPLACE (VIEW_SPECIAL_MAIN.ITEM," "),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"/"),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"\"),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,"("),
REPLACE (VIEW_SPECIAL_MAIN.ITEM,")"),
IIF((MID(VIEW_SPECIAL_MAIN.ITEM,1)="X"),(MID(VIEW_SPECIAL_MAIN.ITEM,2)) )
FROM VIEW_SPECIAL_MAIN;
Thanks