Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2006
    Posts
    54

    Unanswered: Combo Box Headers

    I would like to create a combo box that has headers to seperate the data but are not selectable - is this possible?

    ie:

    Europe
    France
    Spain
    Portugal
    Italy
    S America
    Chile
    Peru
    Mexico
    Argentina

    The bold items are the headers to make it easier to select from a list.

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    sounds like you want a tree view
    , or failignthat you need to change your design methodology to match the inbuilt Access features, by using say two combo boxes, one lists continents/land massess, the other details of countries in that continent / land mass.

    you would need some code that forces the country list box to refresh based on the selection in the continent list box. Probably in the continent listbox's on click event.

    you could extend the continent/land mass lost box by providing say an 'all continents' option which shows all countries.
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Jan 2006
    Posts
    54
    Tree View? Could you elaborate?

    I gave thought to the two combo boxes (changing the row source) but I was hoping to minimize it to just 1 combobox if possible.

  4. #4
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    depending on your development environment you may or may not have a treeview control. Im pretty certain they were availble in A2000 on, but I'm not certain

    a treeview control is use din explorer to display directories and files.

    http://www.google.co.uk/search?hl=en...G=Search&meta=
    I'd rather be riding on the Tiger 800 or the Norton

  5. #5
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    The dual combobox thing is easy enough to set up
    See this thread for something similar. Look for the attachement near the bottom!
    George
    Home | Blog

Posting Permissions

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