Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Conversion / November 2003

Tip: Looking for answers? Try searching our database.

Converting telephone numbers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ChrisBat - 13 Nov 2003 18:37 GMT
Hi,

I have a 2 lists of telephone numbers - one that is in the
form 4165551234, and the other that has the format 416 555
1234.  I need to convert these to the same format, and
cannot (unfortunately) do it through Excel as I have more
rows of data in my database than are allowed in Excel.
I'm using Access 97 if that makes a difference.
Any suggestions would be appreciated.
Thanks,
Chris
John Nurick - 13 Nov 2003 23:11 GMT
Hi Chris,

You can do this with an update query. Set a criterion on the phone
number field of

    Like "##########"
(that's ten hash signs) and update it to
    Format([XXX], "000 000 0000")
where XXX is the name of the field.

>Hi,
>
[quoted text clipped - 7 lines]
>Thanks,
>Chris

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.