Are they phone numbers with extra digits longer than all the ones
without the extra digits? How many characters do the have?
UPDATE YourTable
SET Telephone = Left([Telephone],10)
WHERE Len(Telephone) > 10
If the correct length is more than 10 then change 10 to 12 or 14
For example.
4104559999 (10 characters)
410.455.9999 (12 characters)
(410) 455-9999 (14 Characters)
BACKUP your data first.
IF you are using the query view (query grid),
-- Select Query: Update from the menu
-- Set the grid up as follows
Field: Telephone
Table: YourTable
Update: Left([Telephone],14)
Criteria: Len(Telephone) > 14
'====================================================
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
'====================================================
How do you delete the last 2 digits from numbers? Some of the phone numbers
in my contact list happen to contain 2 extra digits at the end that I would
like to delete. How would I do this without affecting the correct numbers?