Update Query Help

  • Thread starter Thread starter Clay
  • Start date Start date
C

Clay

I have a table called tblOffender. Data is deleted and
re-imported to this table frequently. One of the fields
is called CrimeType. The CrimeType field contains either
Violent, Drug, Sex, Other, or Property.

Recently, we have decided to "re-classify". I need to
create an Update Query that will look in the CrimeType
field and find all of the data that is "Sex" and change
the data from Sex to "Violent".

How can I do this?
 
ok create a query using this table and in design view you
want to hit the query type button on the toolbar at the
top, choose update query then in the field at the bottom
there will be a field called update to and put in there
Violent and where it says criteria put in sex hit
the ! button at the top and bingo it will change
everything.
 

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

Similar Threads

Sub Combo Box 2
VBA code in query for new field? 9
Only where a specific feild is unique. 11
IIF statement function criteria 10
Date criteria problem 16
Combining Queries 4
Update query 2
Grouping and counting instances 5

Back
Top