-- 作者:liuyixin662
-- 发布时间:2015/11/11 14:16:00
-- [求助]模糊查询出错
此主题相关图片如下:模糊查询出错.bmp
代码如下:
Dim txt As String = e.Form.Controls("输入内容").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 End If
|