How to delete a few characters in a field in Access

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

Guest

I need to create a query that removes the last 4-digits code on a field.

Please help.
 
Is your field a set number of digits? If so use an update field and just
update it to the left XX digits. If the format is variable, it is still
possible, but you have to grab the number of digits, subtract four, and then
grab those.

=Left([somefieldname],10)

would give you the left 10 digits.
 

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