Foxtable(狐表)用户栏目专家坐堂 → 应该是个Bug BeforeDeleteDataRow


  共有3403人关注过本帖平板打印复制链接

主题:应该是个Bug BeforeDeleteDataRow

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


加好友 发短信
等级:七尾狐 帖子:1695 积分:10725 威望:0 精华:0 注册:2009/10/25 16:45:00
应该是个Bug BeforeDeleteDataRow  发帖心情 Post By:2014/7/14 20:38:00 [只看该作者]

1、在订单表的 BeforeDeleteDataRow 设置代码:
With Tables("订单")
    For i As Integer = .BottomPosition  To.TopPosition Step -1
        output.show(i)
        If Tables("出库").count > 100   ' 出库表实际没有100行哦。。。 
            e.Cancel = True 
        End If
    Next
End With

2、在订单表手工选择N行,然后右键删除选择的行,会提示N个:
     Exception has been thrown by the target of an invocation. 的错误。。。

 回到顶部