Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access find and replace? 1

Status
Not open for further replies.

brownfox

Programmer
Jan 5, 2003
173
GB
Does anyone know if Access sql has a replace function? In mySQL it's this:
Code:
UPDATE myTable SET myColumn = REPLACE(myColumn, 'toBeReplaced', 'newValue');
 
Most later versions of Access allow you to use the Replace() function in queries. I believe Access 2000 required you to wrap the Replace() function in your own function with the same functionality.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
ACCESS has an "Update" Action Query that does that.

PaulF
 
The standard SQL way:
UPDATE myTable SET myColumn = 'newValue' WHERE myColumn = 'toBeReplaced';

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks for the help. PHV that is exactly what I wanted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top