D _delphi Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-20 #2 先uses form2的单元 如 uses unit2;
L lzf1010 Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-20 #3 楼上的兄弟,如果这么简单的引用就OK的话,就不会出200分了
S Siva Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-20 #4 uses unit2; clientdataset.providername:=form2.clientdatasetprovider;
L lzf1010 Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-20 #6 to jianguobu: 就是form1里的clientdataset通过form2的DataSetProvider取得数据
H hardware007 Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-20 #7 uses unit2; clientdataset.provider:=form2.clientdatasetprovider;
L lzf1010 Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-20 #8 请各位兄弟先测试好了再回复,象hardware007,根本就没有provider属性的。
J jianguobu Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-20 #10 楼主,我建议你,把它们都放在data module(DM)里. form1和form2都uses DM后再去用DM里的clientdataset
A Aiirii Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-20 #12 ClientDataSet1.SetProvider(Form2.DataSetProvider1);