就写在主表的CurrentChanged事件中,在里头判断表名即可:
if e.Table.Name = "订单" Then
Elseif e.Table.Name = "产品.订单" Then
Endif