以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 关于filter 表达式的问题 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=129159) |
-- 作者:firecho -- 发布时间:2018/12/22 20:34:00 -- 关于filter 表达式的问题 请各位帮忙看看这个代码有什么问题 dim dt as datatable = datatables("测试") dim t as table = tables("测试1") dim s as list (of string) s=dt.getvalues(“编号”) t.filter="编号 not in \'" & s & "\'" 运行时提示filter出错,请指点,难道是动态合成表达式 或者not in 集合不能这么用吗? [此贴子已经被作者于2018/12/22 20:36:41编辑过]
|
-- 作者:有点甜 -- 发布时间:2018/12/23 10:40:00 -- 改成这样
Dim dt As DataTable = DataTables("测试") |
-- 作者:firecho -- 发布时间:2018/12/23 11:01:00 -- 谢谢甜大 |