请问老师这是哪里错了查询错误·以前没有出错的·一直都用的好好的·
Dim txt As String = e.Form.Controls("TextBox1").Text
Dim tbl As Table = Tables("派工单")
If txt = "" Then
tbl.Filter = ""
Else
txt = "'%" & txt & "%'"
tbl.Filter = "姓名 Like " & txt & " Or 件号图号 Like " & txt & " Or 工序 Like " & txt & " Or 工价 Like " & txt & " Or 备注 Like " & txt & " Or 生产批号 Like " & txt & " Or 派工编码 Like " & txt
End If
此主题相关图片如下:2.png
此主题相关图片如下:1.png
、
此主题相关图片如下:3.png
[此贴子已经被作者于2019/7/6 10:32:52编辑过]