>This works on a Variable LookUp Listbox in that I can select more than one >item but it _appears_ to only return the last selected item to the variable >instead of all of them which defeats the object somewhat.
On a variable User Defined Listbox, MultiSelect will work when the Listbox is populated via a Cursor or Load_From_File. A couple of days ago I posted an example for a form that details exactly how you get multiple selections. When MultiSelect is utilized, the programmer has to loop through the ListBox to see if the Item is in a "Selected" state and then to act on that information as the programmer sees fit (add to a string or whatever). A listbox does not mimic the behavior of a Choose. They are two entirely different processes. Also, don't be detered from using a cursor to populate a ListBox, as there isn't much of a performance hit for doing so. That said, the MultiSelect capability of the User Defined Listbox is a welcome addition to RB7.x. >Multiselect does not appear to be documented in the latest properties document >so I'm hoping that there is a "MultiReturn" >or something equivalent that I >can use to capture the values. I am putting the Example File in a Zip File that contains a working form using Multiselect with the new properties at: http://www.byerley.net/multiSelectForm.zip Add it to the ConComp db as it uses the Company table for its' data.
