你用两个QUERY控件,分别写SQL语句就可以啊

解决方案 »

  1.   

    select table1.字段名 ,table2.字段名 from table1,table2 where table1.no=.. and table2.no=...
      

  2.   

    分别用 DBGrid 查看?
    两个Query:MastQ,DetailQ
    MastQ:select * from Table2 where No=:NO和Datasource1连接DetailQ:select * from Table2 where No=:NO和Datasource2连接然后把DetailQ的masteSource设置为Datasource1就可以了