1、
http://www.foxtable.com/help/topics/2381.htm
至于修改子表后,父表数据的表达式列并不会触发DataColChanged事件,解决办法:
1、必须在子表的DataColChanged事件设置代码:
If e.DataCol.Name = "某列" Then
Dim pr As DataRow = e.DataRow.GetParentRow("父表")
If pr IsNot Nothing Then
DataTables("父表").DataCols("某个列").RaiseDataColChanged(pr)
End If
End If
2、在BeforeDeleteDataRow事件中设置代码:
e.Datarow("某个列") = 0