Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228

    simple question about combo boxes.

    I have a combo box to chose staff for a job. In the box itself its displaying the staff ID then followed by the name. When clicked it just shows the ID. What option do I change to set the staff name as the first field in the list?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    One option would be to hide the ID column using the column widths property of the combo. Another would be to display the name separately:

    http://www.baldyweb.com/Autofill.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    I want it to just save the ID... that's fine I just don't want to see the ID ever. changing column width wont work because once the record is selected it ONLY shows ID. so its not like I can move over the correct text, I cant see that text.

    I have a few set up right. For some reason I cant do it today.

    thanks for the answer though.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If it's showing ID you don't have the widths right. A width of 0 hides a column.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 12-03-2014, 03:32 PM
  2. Replies: 11
    Last Post: 08-06-2014, 09:47 AM
  3. Simple Combo Box Multiple Select Question
    By ahamilton in forum Access
    Replies: 7
    Last Post: 03-17-2011, 01:38 PM
  4. Simple Question - Combo Box Default Text
    By sayitgreen in forum Forms
    Replies: 3
    Last Post: 02-20-2010, 12:59 AM
  5. Simple combo box question
    By laqa in forum Queries
    Replies: 9
    Last Post: 08-03-2009, 08:32 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