123blyzzard
Programmer
HI,
I have a field named Colors in a table A and The same field Colors in Table B. But in table A, I have "Red Color", "Blue Color" and "Green Color" and in table B only "Red", "Green" and "Blue". Now I need to connect table A to Table B on Colors and thus need to remove " Color" from table A first in order to join them.
I used Update tbl_name set case when Colors ="Red Color" then Color="Red" but that is not working.
I also used replace(iif[Colors="Red Color"], " Color","")
but still not working.
Any suggestions would be appreciated.
Thanks,
Blyzzard
I have a field named Colors in a table A and The same field Colors in Table B. But in table A, I have "Red Color", "Blue Color" and "Green Color" and in table B only "Red", "Green" and "Blue". Now I need to connect table A to Table B on Colors and thus need to remove " Color" from table A first in order to join them.
I used Update tbl_name set case when Colors ="Red Color" then Color="Red" but that is not working.
I also used replace(iif[Colors="Red Color"], " Color","")
but still not working.
Any suggestions would be appreciated.
Thanks,
Blyzzard