With e.Form.Controls("TextBox1")
If .Value IsNot Nothing Then
Tables("表名").Filter = "姓名 = '" & .Value & "'"
End If
End With