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 / General 1 / April 2006

Tip: Looking for answers? Try searching our database.

Phone Number FORMATTING

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
czbacnik@gmail.com - 12 Apr 2006 17:30 GMT
Hello! All I want to do is have my phone numbers appear (555) 555-5555,
but
for some reason I keep getting all these weird -- in between the
numbers. I read that I should put "(999) 999-9999"! as an input mask,
but that didn't work. Does anyone have a suggestion?

I appreciate the help!

Thanks,

Carla
Cyberwolf - 12 Apr 2006 20:31 GMT
DId you use the built in format in Access.  Open your table in design
mode click on the Phone # field and make it a text field and click on
the input mask option on the general tab.  In there there is a Phone#
format.
Mikal - 12 Apr 2006 22:08 GMT
sounds like you are inputting the parens and hyphens which you shouldn't do
with an input mask as it causes them to double up.  You could put this code
in the afterupdate event of the text box you use for the phone number:

Me!MyPhoneNbr = Format(Me!MyPhoneNbr, "(###) ###-####")

Of course, that will save it in your table with the punctuation included.

HTH

Mike Pippins

>Hello! All I want to do is have my phone numbers appear (555) 555-5555,
>but
[quoted text clipped - 7 lines]
>
>Carla

Signature

"We have met the enemy and he is us." -- Pogo Possum

 
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.