Replace asterisk Query error

J

justme

UPDATE TEST_Table AS T SET T.Comments = Replace([Comments],"*","")

Error I am getting is cannot update due to conversion type failure.

Comments is a memo field.

Many fields are empty. Some fields contain just text. Many fields look like
this:

***These are the comments in the box


I want to get rid of asterisks, regardless of how many are in the comments
field.

Error I am getting is cannot update due to conversion type failure.

Thank you!
 
F

fredg

UPDATE TEST_Table AS T SET T.Comments = Replace([Comments],"*","")

Error I am getting is cannot update due to conversion type failure.

Comments is a memo field.

Many fields are empty. Some fields contain just text. Many fields look like
this:

***These are the comments in the box

I want to get rid of asterisks, regardless of how many are in the comments
field.

Error I am getting is cannot update due to conversion type failure.

Thank you!

Update TEST_Table SET Test_Table.Comments = Replace([Comments],"*","")
Where Test_Table.Comments is not null;
 

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