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