With e.Form.Controls("TextBox1")
If .text IsNot Nothing Then
Dim str As String = "1=2"
For Each s As String In .text.split(",")
If s > "" Then
For Each c As Col In Tables("查询_Table1").Cols
If c.IsNumeric OrElse c.IsDate Then
str &= " and Convert(" & c.name & " , \'System.String\') Like \'%" & s & "%\'"
Else
str &= " and " & c.name & " Like \'%" & s & "%\'"
End If
Next
End If
Next
Tables("查询_Table1").Filter = str
End If
End With