Results 1 to 2 of 2
  1. #1
    perc510 is offline Novice
    Windows XP Access 2002
    Join Date
    Feb 2011
    Posts
    1

    Phone number not showing up as formatted in reports

    I formatted a phone number (I think this was done after the numbers were imported into the database) - the format shows up correctly in the table and in forms, but not in a report - not until I edit or change the number, then it shows up correctly in the reports. I have over 3,000 numbers and I would like to find a way to edit the numbers without doing it manually one at a time. I wrote a program in VBA to copy the existing phone number - change the number to null - update the record - and then copy the number back. I still do not have the format in reports, just 10 straight digits. Can anyone help me? Thanks

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    The numbers in the table shouldn't be formatted at all. They should just be 10 digits and nothing more. In the query that is bound to your report, change it to pull:
    Format([phoneNumber],"(###)###-####")
    instead of just
    [phoneNumber]

    Formatting like this should be done on the fly. Your table should be used for storing raw data and should not be used for display purposes.

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

Similar Threads

  1. Report Showing ID number and not the name
    By tipopilotas in forum Reports
    Replies: 11
    Last Post: 07-20-2015, 03:21 PM
  2. Format phone number in an unbound list box
    By kbremner in forum Forms
    Replies: 2
    Last Post: 11-08-2010, 05:11 PM
  3. Phone number format
    By ManvinderKaur in forum Access
    Replies: 1
    Last Post: 06-24-2010, 08:07 AM
  4. Phone number in (000) 000-0000
    By Ajay in forum Queries
    Replies: 9
    Last Post: 03-12-2010, 11:50 AM
  5. Data Not Showing in Reports
    By Delin in forum Reports
    Replies: 1
    Last Post: 01-26-2006, 08:53 PM

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