Foxtable(狐表)用户栏目专家坐堂 → [求助]如何计算一次删除记录的数量,并找出各自对应的_Identify


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

主题:[求助]如何计算一次删除记录的数量,并找出各自对应的_Identify

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


加好友 发短信
等级:狐神 帖子:5015 积分:25363 威望:0 精华:0 注册:2015/8/18 9:21:00
  发帖心情 Post By:2015/11/19 10:41:00 [显示全部帖子]

Dim Topp  = Tables("表B").TopPosition
Dim bott = Tables("表B").BottomPosition
With Tables("表B")
    For i As Integer = bott To Topp  Step -1
        lst.Add(.Rows(i)("_Identify"))
        .Rows(i).Delete()
    Next
End With

For Each i As Integer In lst
    Output.Show(i)
Next


 回到顶部