Results 1 to 2 of 2
  1. #1
    oatsybob is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2012
    Posts
    28

    How to populate a list box with another list box using extended multiselect

    Hello! As the title indicates, I need to figure out how to populate a list box using another list box on the same form. I have this working completely fine if the the source list box has the multi select property configured to be off, however I need it to be set to extended multi select. Does anyone have any experience with this?

    Thanks in advance!!

  2. #2
    Rod is offline Expert
    Windows 7 32bit Access 2007
    Join Date
    Jun 2011
    Location
    Metro Manila, Philippines
    Posts
    679
    Rather than going into a long explanation right here, try lookin up ItemsSelected in the Access on-line help. Note that the collection holds not the values themselves but indices that point to the selected values. (Be careful when using indices with listboxes with heading rows!) You then need to build a ';' delimited string and poke this into the RowSource of the second listbox.

    For a write-up of multi-select behaviour, select the Multi Select property under the Other tab in the Property Sheet and press F1

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

Similar Threads

  1. Replies: 8
    Last Post: 09-20-2012, 03:27 PM
  2. Replies: 1
    Last Post: 09-12-2011, 10:15 AM
  3. HELP! using list boxes with multiselect
    By tarhim47 in forum Forms
    Replies: 21
    Last Post: 11-08-2010, 02:51 PM
  4. Forms + Multiselect list boxes
    By tarhim47 in forum Forms
    Replies: 0
    Last Post: 11-08-2010, 10:50 AM
  5. List box to populate other list boxes
    By Nathan in forum Forms
    Replies: 0
    Last Post: 03-03-2009, 07:22 PM

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