以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 求大神解疑 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=78195) |
||||
-- 作者:13983737740 -- 发布时间:2015/12/3 22:44:00 -- 求大神解疑 Dim cj As WinForm.ComboBox = e.Form.Controls("厂家") Dim wlmc As WinForm.ComboBox = e.Form.Controls("物料名称") Dim wlbh As WinForm.TextBox = e.Form.Controls("物料编号") Dim xhgg As WinForm.TextBox = e.Form.Controls("型号规格") Tables("物料信息表").Filter="供货厂家 = \'" & cj.text & "\' and 物料名称 = \'" & wlmc.text & "\' and 物料编号 like \'*" & wlbh.text & "*\' and 型号规格 like \'*" & xhgg.text & "*\'" 我想问一下,为什么我做的这个统计程序,必须要查询完供货厂家和物料名称后才能使用模糊查找? ![]() ![]() 能不能直接进行模糊查找?我的程序该如何改呢?
|
||||
-- 作者:大红袍 -- 发布时间:2015/12/3 23:03:00 -- Dim cj As WinForm.ComboBox = e.Form.Controls("厂家") Dim filter As String = "1=1" |