1、必须通过datacolchanged事件处理,而且不能用表达式列。
Dim fdr As Datarow = DataTables("子表").Find("客户 = '" & e.datarow("客户") & "'", "聊天时间 desc")
If fdr IsNot Nothing Then
e.Datarow("最后聊天时间") = fdr("聊天时间")
End If
http://www.foxtable.com/webhelp/scr/1453.htm
2、只能用datacolchanged,类似 http://www.foxtable.com/webhelp/scr/2647.htm