以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助] 求教下拉选项多件筛选问题 ,执行报错 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=123913) |
-- 作者:wzm007008 -- 发布时间:2018/8/26 22:16:00 -- [求助] 求教下拉选项多件筛选问题 ,执行报错 Dim cmb As WinForm.ComboBox = e.Sender Dim str As String = e.Form.Controls("ComboBox3").Value Dim str1 As String = e.Form.Controls("ComboBox4").Value cmb.ComboList = DataTables("库存表").GetComboListString("类别", "[货品] = \'" & str & "\'" And "颜色 = \'" & str1 & "\'") 想做个输入框,下拉表根据库存中货品、颜色同时满足ComboBox3 和 ComboBox4内数值,怎么改动
|
-- 作者:有点甜 -- 发布时间:2018/8/26 22:31:00 --
cmb.ComboList = DataTables("库存表").GetComboListString("类别", "[货品] = \'" & str & "\' And 颜色 = \'" & str1 & "\'")
|
-- 作者:wzm007008 -- 发布时间:2018/8/26 22:41:00 -- 谢谢,新手,我的引号加多了 |