search and delete text

G

gls858

I have a memo field that contains the same phrase in every record.

Is there any way other than editing each record to get rid of the phase.

gls858
 
K

Ken Snell [MVP]

You can run an update query (make a copy of the database file first!):

UPDATE YourTableName
SET MemoFieldName = Replace(MemoFieldName, "That Pesky Phrase", "")
WHERE MemoFieldName Like "*That Pesky Phrase*";
 
G

gls858

Ken said:
You can run an update query (make a copy of the database file first!):

UPDATE YourTableName
SET MemoFieldName = Replace(MemoFieldName, "That Pesky Phrase", "")
WHERE MemoFieldName Like "*That Pesky Phrase*";

Thanks Ken that did the trick. I appreciate the help.

gls858
 

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

Top