以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  如果是否停用字段为null时会出错,怎么样纠错比较好?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=113899)

--  作者:xxfoxtable
--  发布时间:2018/1/24 21:28:00
--  如果是否停用字段为null时会出错,怎么样纠错比较好?
cmb5.ComboList = DataTables("公司档案").GetComboListString("公司名称", "地区 = \'" & cmb4.text & "\'and 属性 = \'" & cmb2.text & "\' and 是否停用<>\'是\'")
--  作者:有点甜
--  发布时间:2018/1/24 21:33:00
--  
cmb5.ComboList = DataTables("公司档案").GetComboListString("公司名称", "地区 = \'" & cmb4.text & "\' and 属性 = \'" & cmb2.text & "\' and (是否停用 is null or 是否停用<>\'是\')")