"ken" <ke******@yahoo.comwrote in
news:11*********************@e64g2000cwd.googlegro ups.com:
I have a field in table "Jobs" called "JobNo" consisting of 6
numbers such as 405043
I need to somehow delete the first 3 numbers to have field
just be 043
I could delete the first 3 numbers by hand but have 9600
records in table
Thanks for any and all suggestions
Ken
Well if you have 9600 records, and only three digits, jobno will
have duplicates. That may be a problem in itself.
If JobNo is a text field, just use the right() function to
return the three rightmost digits.
If JobNo is truly a number, you can either convert to text
before and after or calculate the remainder from 1000
use the mod operator for this
Make a backup table to test first, then build an update query
with the replace set to ([Jobno] mod 1000)
--
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from
http://www.teranews.com