Foxtable(狐表)用户栏目专家坐堂 → [讨论]如何用狐表快速地给人员排位?


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

主题:[讨论]如何用狐表快速地给人员排位?

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


加好友 发短信
等级:贵宾 帖子:39310 积分:196782 威望:0 精华:1 注册:2015/4/25 9:23:00
  发帖心情 Post By:2015/10/8 17:40:00 [显示全部帖子]

Dim tb1 As Table = Tables("场地空闲")
Dim tb2 As Table = Tables("人员空闲")
For Each r As Row In tb1.Rows
    For i As Integer = 0 To tb1.Cols.Count - 1
        If r(i) = Nothing Then
            For Each rr As Row In tb2.Rows
                If rr(i) = Nothing Then
                    r(i) = rr("_Identify")
                    rr(i) = r("_Identify")
                    Exit For
                End If
            Next
        End If
    Next
Next

 回到顶部