Results 1 to 4 of 4
  1. #1
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30

    Auto Populate fields with ComboBox


    Hello All,

    New to the forums and a novice user of access, trying to better myself and develop a few projects for my group to help in maintaining quick access to some information.

    As the title suggest it is about the use of a combo box that auto populates fields in a form once you select an item in the combo box. I have found the answers on how to add the combo box and allow it to pull information from the table i desire and it shows and populates the information correctly and the code works. What I am trying to do is to hide all the other information besides one item in the combo box so you do not have this long string of information when you drop the combo box down. The table consists of modem name, modem ip address, mac address, etc. I just want the modem name to be visible when you click on the drop down menu instead of all the information being displayed. I have attached a photo of what I have done so far, all I want visible when selecting the combo box is the modem dns name the rest of the information hidden but still be able to auto populate the fields below. Thanks for your help and support in the matter.

    charles

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    You can adjust the Column Widths of your Combo in a way that will hide some columns and not others.
    Code:
    0, 1.5, 0, 0, 0
    or maybe you are using semicolons.
    Code:
    0; 1.5; 0; 0; 0

  3. #3
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30
    That worked like a charm, I added in those values in the column width and it hid those line, i did have to adjust the list width from 6 to 1, which shrunk the selection to that one value i wanted to have visible so that it wasn't a large empty space, i thank you for this. Much appreciated.

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    You bet. Welcome to the forum!

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

Similar Threads

  1. Replies: 3
    Last Post: 05-03-2014, 11:00 AM
  2. Replies: 1
    Last Post: 06-20-2013, 10:35 AM
  3. Replies: 1
    Last Post: 01-16-2013, 03:32 PM
  4. Replies: 1
    Last Post: 08-22-2012, 01:24 PM
  5. Replies: 2
    Last Post: 08-22-2012, 07:59 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