Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
父表和子表单向关联。
要求:如果父表A列内容为(False)
子表的B列不能编辑。
在哪个事件写代码,具体的代码如何?谢谢。
http://www.foxtable.com/help/topics/0605.htm
Dim pr As DataRow = e.Row.DataRow.GetParent(row)
If pr isnot nothing Andalso pr("A") = False Then
e.Cancel = true
End If
还是有出错的提示。
要求,如果父表A列是False.
子表B列不能编辑,其它列没影响。谢谢。
下载信息 [文件大小: 下载次数: ] | |
![]() |