Edit/Replace [square bracket problem]

  • Thread starter Thread starter David Kennedy
  • Start date Start date
D

David Kennedy

Hi,

Is there anyway to do an edit and replace of chars including square
brackets.
I want to replace [MM] with mm.

Thanks in advance,
David K
 
You can do it with an update query and the Replace() function, and square
brackets are not an issue in this scenario ...

UPDATE tblTest SET tblTest.TestText = Replace([TestText],"[MM]","mm");

In other scenarios, where square brackets are a problem, just double them up
....

SELECT tblTest.TestText
FROM tblTest
WHERE (((tblTest.TestText) Like "*[[MM]]*"));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top