Listbox multiselect and move to another listbox (1 Viewer)

Onlylonely

Registered User.
Local time
Tomorrow, 00:08
Joined
Jan 18, 2017
Messages
43
Hi Guys,

Appreciate if you could help me out.
I have listbox4 and listbox5, when i select multiple row from the listbox4 and click next, the issuetbl suppose to update 'Check' in complete column.
So that listbox5 have the item which i selected. Unfortunately, it only show the last item that i selected.

Private Sub btn_Select_Click()
Dim sSQL As String

sSQL = "Update Issuetbl Set [Issuetbl].[Complete] = 'Check' WHERE [Issuetbl].[Serial_Number] = '" & Me.Listbox4.Column(0) & "'"
CurrentDb.Execute (sSQL)

End Sub

Any idea how to update the table to "CHECK" for the item that i multi-selected in the listbox4?
 

Attachments

  • listbox.JPG
    listbox.JPG
    35.8 KB · Views: 83
  • list5.JPG
    list5.JPG
    29.6 KB · Views: 84

Users who are viewing this thread

Top Bottom