Trim first two characters in a field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to trim the two charactesr from a field. I you have a simple sql
command that would be great too.
 
Hi, Carlton.

In an Update query, change the value of [YourField] to:

=Right([YourField],len([YourField])-2)

Sprinks
 
Fred,

You're right; Mid is a more efficient call. But shouldn't it be
Mid([OldField],3) to trim the first two?

Sprinks


fredg said:
I need to trim the two charactesr from a field. I you have a simple sql
command that would be great too.

NewField = Mid([OldField],2)
 

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

Back
Top