ListBox with MultiSelect
Posted on 2001-08-10
I had a listbox (single select) containing user information (noUser, name, stats) and I was using a ComboBox containing user info (noUser, name). So by selecting the name in the combo, I was highlighting the user in my listbox with the following code:
Forms![listbox].value = Forms![Combo].value 'Easy
But now I've changed my Listbox (single select) for a Listbox multiSelect, and it doesn't work since the .value in multiselect is always Null.
Is there an easy way to do that? I know I could have my data out of the listbox with .column(0) instead of .value, but to highlight the row containing noUser = X... I can't figure that out.
Any help would be appreciated, thanks