L Lidong Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-04 #1 在录入数据界面,如果采用Query,如何实现Master/Detail关系?
V Victortim Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-04 #2 1.的DataSource为主表DataSource DetailDataSet.Datasource:=MasterDataSource; 2.设MasterDataSet和DetailDataSet都有ID字段,则 DetailDataSet.SQLl:='Select * from UTable Where ID=:ID' | ---- | | DetailDataSet的ID字段 | | ( :ID )MasterDataSet的ID字段
1.的DataSource为主表DataSource DetailDataSet.Datasource:=MasterDataSource; 2.设MasterDataSet和DetailDataSet都有ID字段,则 DetailDataSet.SQLl:='Select * from UTable Where ID=:ID' | ---- | | DetailDataSet的ID字段 | | ( :ID )MasterDataSet的ID字段