Solved

Access VBA Find and replace within a table and field

Posted on 2006-11-09
3
392 Views
Last Modified: 2008-02-07
Hi

How do I do a find and replace within a table or a field
within that table.

eg replace "D" with "C" within tblTest
0
Comment
Question by:murbro
  • 2
3 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 total points
ID: 17906521
All occurrences of the character?

e.g. run this query

update mytable
set myfield = replace(myfield,"D","C")


obviously do backups of your db/table before modifying data
0
 

Author Comment

by:murbro
ID: 17906546
Great thanks.

Yes all occurrences.

Thanks again for such a quick and concise answer

0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17906583
no worries :)
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now