PC Review


Reply
Thread Tools Rate Thread

Create input mask AFTER data has been entered in wrong format?

 
 
ccollins
Guest
Posts: n/a
 
      22nd Jan 2010
Using Access 2007: Is it possible to create an input mask for a Telephone
Number field after you have imported data into a table in the wrong format?
For example, some data was imported in this form: 123.456.7891 but I need to
know if the system can correct it to read (123) 456-7891.
 
Reply With Quote
 
 
 
 
pietlinden@hotmail.com
Guest
Posts: n/a
 
      22nd Jan 2010
On Jan 22, 9:39*am, ccollins <ccoll...@discussions.microsoft.com>
wrote:
> Using Access 2007: Is it possible to create an input mask for a Telephone
> Number field after you have imported data into a table in the wrong format? *
> For example, some data was imported in this form: 123.456.7891 but I needto
> know if the system can correct it to read (123) 456-7891.


you would have to run an update query. Especially if you want to
store the data formatted.

something like
"(" & left$(phoneNo,3) & ") " & mid$(phoneNo,5,3) & "-" & right$
(phoneNo,4)
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Old data format to new format - Not compatible with old Input Mask Chris Lines Microsoft Access Database Table Design 2 21st Sep 2009 11:34 PM
Value entered isn't appropriate for the input mask mscertified Microsoft Access Form Coding 2 12th Apr 2008 11:28 AM
how to format data with an input mask like ss# (***-**-****) Dennis Microsoft Excel New Users 2 28th Mar 2008 10:31 PM
what's going wrong with my password setting input mask ? Suzy Microsoft Access Forms 0 24th Sep 2004 03:24 PM
Input mask for General Date data format brandon Microsoft Access Forms 2 22nd Jan 2004 03:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:23 AM.