以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  锁定表  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=90789)

--  作者:yzyend
--  发布时间:2016/9/21 17:06:00
--  锁定表
如附件:

父表“复核”列 填入后,子表禁止增加行。
 下载信息  [文件大小:   下载次数: ]
图片点击可在新窗口打开查看点击浏览该文件:测试.rar


求解!

--  作者:狐狸爸爸
--  发布时间:2016/9/21 17:34:00
--  

子表b的BeforeAddDataRow事件:

 

If Tables("A").current("复核") = "ok"  Then
    e.Cancel = True
End If