以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- Filter (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=136623) |
-- 作者:yetle -- 发布时间:2019/6/17 17:27:00 -- Filter Filter想要筛选出订单号=Tables("分派工序_table2").Current("订单号"),同时匹配e.Form.Controls("TextBox11").Text输入的文字是不是这么写?查出来好像不对 Dim txt As String = e.Form.Controls("TextBox11").Text Dim tbl As Table = Tables("修改已扫码_Table1") If txt = "" Then tbl.Filter = "" Else txt = "\'%" & txt & "%\'" tbl.Filter = "订单号 = \'" & Tables("分派工序_table2").Current("订单号") & "\' and 款号 Like " & txt & " or 制单号 Like " & txt & " or 颜色 Like " & txt & " Or 工序号 Like " & txt & " Or 实际生产员工 Like " & txt & " Or 工序名 Like " & txt End If
|
-- 作者:有点甜 -- 发布时间:2019/6/17 17:48:00 --
Dim txt As String = e.Form.Controls("TextBox11").Text
|