I have a field in Access where there are six numbers and a U at the end of the six numbers. Is there a way I can run a query or something to get rid of the U at the end of each of the numbers?
The line I posted will remove the last character of the field, regardless of length, so you may wish to test that the last character is a U. You can use the above in an Update query, being careful to back-up first:
[tt]UPDATE tblTable SET fld = Left(fld,Len(fld)-1)[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.