Results 1 to 2 of 2
  1. #1
    mlrucci is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2018
    Posts
    202

    Post Phone number in list not showing area code parenthesis

    Good afternoon,
    I have a list with employee names and phone numbers pulled from a query based on a table. The input Mask is !\(999") "000\-0000;0;_ on the data input on both the form and the table. For some reason, some of the numbers (older input) are with the appropriate parenthesis (000) 000-0000 for the area code, and the newer inputs are 0000000000 which is not showing the parenthesis on the list. I am at a loss. If I run the query not on the form or list, the () views appropriately. When I run the list on the form, the above happens. I have attempted to even create a new list on the same form and created a new form with the list. No resolution. Any Ideas?

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Use a nested Replace to update the table and remove the parenthesis and dashes so all records are similar then set your form to show the numbers whatever way you like it.

    Cheers,
    Vlad
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

Please reply to this thread with any new information or opinions.

Similar Threads

  1. format UK Phone number
    By sdel_nevo in forum Programming
    Replies: 5
    Last Post: 03-12-2016, 12:29 PM
  2. How to exclude an area code in a phone number?
    By indians207 in forum Queries
    Replies: 11
    Last Post: 11-21-2013, 05:59 PM
  3. Replies: 1
    Last Post: 02-22-2011, 03:05 PM
  4. Format phone number in an unbound list box
    By kbremner in forum Forms
    Replies: 2
    Last Post: 11-08-2010, 05:11 PM
  5. Phone number format
    By ManvinderKaur in forum Access
    Replies: 1
    Last Post: 06-24-2010, 08:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums