Replace

Gismo

Registered User.
Local time
Today, 16:44
Joined
Jun 12, 2017
Messages
1,298
Hi all,

I want to replace all records with a "-" to no spaces starting with AS350A

AS35A012-345-78 to AS35A01234578

Please advise ho to use like with a replace statement
 
use Replace() function:

if you want to Update the field, use Update query:

Update yourTable Set theField = Replace(theField & "", "-", "");
 
arnel's suggestion does not quite meet your requirement

Update yourTable Set theField = Replace(theField & "", "-", "") WHERE theField Like 'AS350A*'
 

Users who are viewing this thread

Back
Top Bottom