I was working on a solution.<br>I have to pieces of code here.<br>First is a function the would be called from a query.<br>--------------------------------------<br>Public Function BuildSelectedList(IsSelected)<br> Dim ctlList As Control, varItem As Variant<br> Dim Criteria As String<br> Set ctlList = Forms!Form1!List1<br> For Each varItem In ctlList.ItemsSelected<br> ' Print value of bound column.<br> Debug.Print ctlList.ItemData(varItem)<br> Criteria = Criteria & "'" & ctlList.ItemData(varItem) & "' OR "<br> Next varItem<br> Debug.Print Left(Criteria, Len(Criteria) - 3)<br> BuildSelectedList = Left(Criteria, Len(Criteria) - 3)<br>End Function<br>--------------------------------<br>It does not work though maybe someone can figure out why.<br>Second is code behind a command button on the form.<br>It builds a SQL string that you could then use to open a recordset with.<br>--------------------------------------<br>Private Sub Command3_Click()<br>On Error GoTo Err_Command3_Click<br> Dim A As Integer, SQL, Criteria As String<br> Dim ctlList As Control, varItem As Variant<br> SQL = "Select * From Employees Where EmployeeID = "<br> ' Return Control object variable pointing to list box.<br> Set ctlList = Forms!Form1!List1<br> ' Enumerate through selected items.<br> For Each varItem In ctlList.ItemsSelected<br> ' Print value of bound column.<br> Debug.Print ctlList.ItemData(varItem)<br> Criteria = Criteria & ctlList.ItemData(varItem) & " AND "<br> Next varItem<br> Criteria = Left(Criteria, Len(Criteria) - 4)<br> SQL = SQL & Criteria<br><br>Exit_Command3_Click:<br> Exit Sub<br><br>Err_Command3_Click:<br> MsgBox Err.Description<br> Resume Exit_Command3_Click<br> <br>End Sub<br>---------------------------------<br>OK good luck