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


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

主题:统计人数

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


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2019/5/29 17:31: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 s > "" AndAlso lst.contains(s) = False Then lst.add(s)
    Next
Next
Dim a As Integer = lst.count
e.form.controls("label2").text = a

 回到顶部
帅哥哟,离线,有人找我吗?
有点甜
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2019/5/29 18:02: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 s > "" Then lst.add(s)
    Next
Next
Dim a As Integer = lst.count
e.form.controls("label2").text = a

 回到顶部