Delete a letter from my data via a query in MS Access

LillyC
LillyC used Ask the Experts™
on
Hi

I would like to create a query to delete the letter F from my data, so that I am just left with the figures minus the F. Eg, 11/2F would become 11/2.

The F only appears in some of the data, the length can vary between 3 and 5 characters and the F always appears at the end.

Any ideas?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Update table1 set Field1 =  Left(Field1, Len(Field1)-1) where Field1 like '%F'

What this will do is remove "F" from Field1 where ever Field1 has data that ends with "F"
LillyCDatabase Developer

Author

Commented:
Thanks :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial