I have imported data into my Access database. I need to update only
part of the value of a field. For instance I need to convert R
Ankle to Right Ankle. Is there a way to do this through an update
query. Thanks.
Yes, this can be done.
How depends upon which version of access you are using.
In Access 2000 or later you can use the Replace Function:
Update YourTable Set YourTable.FieldName = Replace([FieldName],"R
","Right ");
The above will work as long as the string does not contain the
combinaton of "r ankle" used within a different context, such as
"wrist or ankle".
In Access 97 how may depend upon whether the field consists ONLY of
two words, or if the 2 words can be in the beginning, middle, or end
of a longer string. And is it only R Ankle we're looking for, or other
words to be changed as well. You would use the Left, Mid, Right, and
InStr functions.
If you need more help, post back with more of the particulars.