Dim txt As String = e.Form.Controls("gysbm").Text
Dim tbl As Table = Tables("付款_Table1")
Dim tbl1 As Table = Tables("付款_Table2")
If txt = "" Then
tbl.Filter = ""
tbl1.Filter = ""
Else
txt = "\'%" & txt & "%\'"
tbl.Filter = "供应商编码 Like " & txt
tbl1.Filter = "供应商编码 Like " & txt
End If
但,我输入供应商编码时出现错误,请大师帮忙。