参考:http://www.foxtable.com/webhelp/topics/1472.htm
表A,datacolchanged
If e.DataCol.Name = "订单号" Then
Dim Filter As String = "[订单号] = '" & e.NewValue & "'"
e.DataRow("异常") = DataTables("订单").GetComboListString("异常", Filter).replace("|",";")
End If
表B,datacolchanged
Select Case e.DataCol.Name
Case "异常"
Dim pr As DataRow
pr = DataTables("表A").Find("订单号 = '" & e.DataRow("订单号") & "'")
If pr IsNot Nothing Then
DataTables("表A").DataCols("订单号").RaiseDataColChanged(pr)
End If
End Select