I have been working on a form that has several listboxes that are set up for multiselection. When the user clicks the save button the choices write to a table. What I am having a problem with is getting all selections in the listbox to write to the table.So far I am only able to get the first selection. I know I need to throw a multiselect in but I'm not sure where. I've got a different post that explains more at
Here's the code I have so far.
'Start loop to process all items selected in the list boxes
For Each varItem In Me.lstBathroom.ItemsSelected
.Fields("lstBathroom") = Me.lstBathroom.Column(0, varItem)
.Update
Next varItem
Here's the code I have so far.
'Start loop to process all items selected in the list boxes
For Each varItem In Me.lstBathroom.ItemsSelected
.Fields("lstBathroom") = Me.lstBathroom.Column(0, varItem)
.Update
Next varItem