Foxtable(狐表)用户栏目专家坐堂 → 统计人数


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

主题:统计人数

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107866 积分:548693 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2019/5/24 19:55:00 [显示全部帖子]

这种要遍历

dim lst as new List(of string)
for each r as row in tables("表A").rows
    for each s as string in r("在岗人员").split(",")
    if lst.contains(s) = false then lst.add(s)
    next
next
msgbox(lst.count)


 回到顶部