Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Formatting Problem (Access 2003)

    I have a query (see attachment) that contains a name, phone number and an expression that combines the phone number and name.
    The phone numbers are stored in a table formatted like: (999)123-4567. When I run the query the phone numbers are displayed as formatted, but the phone numbers in the Expression that combines number and name turn out like 9991234567, i.e. no formatting.
    Any suggestions as to how to format the numbers in the expression?

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Formatting Problem (Access 2003)

    You can use :
    Expr1:Format([StudentPh],"(000)000-0000") & " " & [Student]
    Francois

  3. #3
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Formatting Problem (Access 2003)

    Thanks again Francois, it works perfectly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •