hide the first two specific characters of the value of a field

J

jumydar

i want to delete from the familyname field the first two characters if it
start with GF fr examle
 
T

Tom van Stiphout

On Mon, 9 Feb 2009 14:14:02 -0800, jumydar

if I understand you correctly you'd want an UPDATE statement like
this:
update myTable
set FamilyName = Mid(FamilyName, 3)
where Left(FamilyName, 2) = 'GF'

-Tom.
Microsoft Access MVP
 

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

Top