很简单,属性还是要和TTABLE一样设置的
然后主表的SQL这样写
select id, name ,sex from t_zb 
明细的SQL
select * from t_mx wher id:=id就是一定要个关联字段