以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  求助,怎么样同时锁定父表当前行的子表所有关联行?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=109633)

--  作者:hzyt
--  发布时间:2017/11/15 23:50:00
--  求助,怎么样同时锁定父表当前行的子表所有关联行?
求助,怎么样同时锁定父表当前行的子表所有关联行?
--  作者:有点甜
--  发布时间:2017/11/16 9:04:00
--  
dim t as table= tables("表A")
For Each dr As DataRow In t.Current.DataRow.getchildrows("表B")
    dr.Locked = True
Next