Dim s, s1, Filter As String
s = Forms("窗口1").Controls("combobox1").text
For Each dr As DataRow In DataTables("表A").DataRows
s1 = dr("第一列")
If s1.Length - s1.Replace(s, "").Length >= 2 Then
Filter = Filter & "," & dr("_identify")
End If
Next
Filter = Filter.Trim(",")
Filter = "_identify in (" & Filter & ")"
Output.Show(filter)
Tables("表A").Filter = Filter