Results 1 to 3 of 3
  1. #1
    Phyllis622 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    10

    Question Formatting a date in a multi column combo box

    I have combo boxes that contain attorney names and phone numbers. The attorney name is what is filled into the field when a selection is made from the combo box into the form. The phone number is just there for the occasions that the person managing the data in the database needs to call that attorney. Just a quicker way instead of having to go to another form to find the phone number. I created a query to combine the first and last name to one field (FullName) and this is where the combo box gets it's info.



    When I run the query, the phone number is shown formatted as I want it to ((###)###-####), but in the combo box in the form, the phone number has no format to it. Any ideas what I need to do to get the phone number to show up formatted in the combo box list?

    Thanks,
    Phyllis

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    in the query that the combo uses,
    select [Attny], Phone#: format([phone],"(###)###-####") 'remember you cant label the field that already exists.

  3. #3
    Phyllis622 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    10
    Of course! I forgot. Working fine now...Thank you!

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

Similar Threads

  1. Replies: 23
    Last Post: 04-08-2015, 12:38 PM
  2. Multi Column Combo Box on a form
    By RayMilhon in forum Forms
    Replies: 1
    Last Post: 09-20-2012, 02:59 PM
  3. Replies: 11
    Last Post: 08-22-2012, 06:34 AM
  4. searching 2nd column in multi-column listbox?
    By RedGoneWILD in forum Programming
    Replies: 6
    Last Post: 07-07-2012, 09:21 PM
  5. Replies: 2
    Last Post: 01-12-2011, 12:00 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