Populate textbox from listbox selections
Posted on 2005-04-18
I am using the following code to populate a Multi-select listbox string into a textbox...
For intCurrentRow = 0 To List186.ListCount - 1
If List186.Selected(intCurrentRow) Then
strItems = strItems & List186.Column(0, _
intCurrentRow) & ";"
Me!InholeString.Value = strItems
How can I modify this code to populate a textbox if a Listbox multiselect is set to none? I tried this code but does not populate unless it is set to multiselect.