Results 1 to 5 of 5
  1. #1
    Join Date
    May 2004
    Posts
    133

    Red face Unanswered: display selected values from multi-selection listbox

    Hi all
    My question below is for studying purpose only:
    Could you write some code for me to display in immiediete window the selected values from list box?

    EX:
    I have a list box with 3 values: "A", "B", "C". THis is multi selection listbox.
    When I hold shift key and select "B" and "C" values. these values will be printed out into immediate window.
    Thanks you.

  2. #2
    Join Date
    May 2005
    Location
    Nevada, USA
    Posts
    2,888
    Provided Answers: 6
    Searching here for "multiselect" should turn up the code to cycle through the selected values. Print them to the immediate window with

    Debug.Print ...
    Paul

  3. #3
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    I'll write a quick FAQ on this today. We've seen this four times in the last week...
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  4. #4
    Join Date
    May 2005
    Location
    Nevada, USA
    Posts
    2,888
    Provided Answers: 6
    Good idea, Teddy. It does come up fairly often. You might consider cascading combos too, as that seems to come up often as well. I've got a cascading combo sample db around here somewhere, if you want it.
    Paul

  5. #5
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    I would absolutely like a demo for cascading combos. I'm thinking about providing small sample databases for all of the FAQ's, it's always easier to learn if you can get in there and start breaking stuff for yourself.

    I put up an EXTREMELY quick and dirty faq for this here.
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

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