M
Morris
Hi! As I got totally confused with juggling between single and double
quotes, and after reading many posts which didn't solve this
particular matter here I ask you:
After importing Excel file to Access table I have this value in one of
the columns:
The Homewell Practice, Suite "B"
It's got a double quote so before working with it I want to replace it
to a single one.
I tried:
DoCmd.RunSQL ("UPDATE MyTable SET MyTable.MyColumn =
Replace([MyColumn], """", ""'"");")
but this doesn't work.
I also tried different variations, but all of them failed.. Where
should I put more/less quotes and of which type?
Cheers,
Morris
quotes, and after reading many posts which didn't solve this
particular matter here I ask you:
After importing Excel file to Access table I have this value in one of
the columns:
The Homewell Practice, Suite "B"
It's got a double quote so before working with it I want to replace it
to a single one.
I tried:
DoCmd.RunSQL ("UPDATE MyTable SET MyTable.MyColumn =
Replace([MyColumn], """", ""'"");")
but this doesn't work.
I also tried different variations, but all of them failed.. Where
should I put more/less quotes and of which type?
Cheers,
Morris