Private Sub Command3_Click()
Dim varItem As String
Dim i As Variant
' Build criteria string from selected items in list box.
varItem = ""
For Each i In Me![List0].ItemsSelected
If varItem <> "" Then
varItem = varItem & " , "
End If
varItem = varItem & Me![List0].ItemData(i) & ""
Next i
' Filter the form using selected items in the list box.
Text4 = varItem
List2.RowSource = "SELECT * FROM ReqItem WHERE [ID] In(" & varItem & ");"
End Sub