I'm not entirely sure if what I'm trying to do is the correct way of doing it, but the code I'm trying is:
Expand|Select|Wrap|Line Numbers
- Private Sub Save_Click()
- Dim varItem As Variant
- For Each varItem In Me.ProgramList.ItemsSelected
- strSQL = "UPDATE tblPrograms SET tblPrograms.Client_ID =" & Me.ClientList.Column(1) & _
- " WHERE tblPrograms.Program =" & varItem
- DoCmd.RunSQL strSQL
- Next varItem
Any ideas how to fix this?
Thanks.