Dim txt As String = e.Form.DropDownBox.Text
Dim tbl As Table = Tables("下拉_Table1")
txt = txt.Replace("*","[*]").Replace("%","[%]")
If txt = "" Then
tbl.Filter = ""
Else
txt = "'*" & txt & "*'"
tbl.Filter = "商品名称 Like " & txt & " Or 商品编号 Like " & txt & " Or 商品类别 Like " & txt & " Or 规格 Like " & txt
End If
e.Form.DropDownBox.Select()
提示错误:Like 运算符中出错: 字符串模式“%20*2%”无效。 下拉框录入20*25这种就会提示这个错误,麻烦老师指点下,谢谢