Foxtable(狐表)用户栏目专家坐堂 → 滤表中符合条件的所有数据


  共有1862人关注过本帖树形打印复制链接

主题:滤表中符合条件的所有数据

帅哥哟,离线,有人找我吗?
有点色
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:13837 积分:69650 威望:0 精华:0 注册:2016/11/1 14:42:00
  发帖心情 Post By:2017/5/29 17:23:00 [显示全部帖子]

这样?

 

Tables("表A").Filter = "第一列 = '123' and 第二列 = '456'"

 

这样?

 

Dim t As Table = Tables("表A")
Dim str As String = "-1,"
str = str & t.DataTable.GetComboListString("_Identify", "第一列 = '123' and 第二列 = '456'").replace("|", ",")
t.Filter = "_Identify not in (" & str.trim(",") & ")"


 回到顶部