J
juziling
Unregistered / Unconfirmed
GUEST, unregistred user!
请问:
有二个TClientDataSet控件。先把ClientDataSet1.Delta的内容传给ClientDataSet2.Data中.
当对ClientDataSet2的内容从数据库读取新的表。但无论我怎么处理(如
ClientDataSet2.Active:=False;
ClientDataSet2.Close;
ClientDataSet2.CommandText:='select * from curr';
ClientDataSet2.Active:=True;
显示出来的还是Delta的内容)
(用ClientDataSet2.EmptyDataSet后ClientDataSet2的值就永远为空了)
有二个TClientDataSet控件。先把ClientDataSet1.Delta的内容传给ClientDataSet2.Data中.
当对ClientDataSet2的内容从数据库读取新的表。但无论我怎么处理(如
ClientDataSet2.Active:=False;
ClientDataSet2.Close;
ClientDataSet2.CommandText:='select * from curr';
ClientDataSet2.Active:=True;
显示出来的还是Delta的内容)
(用ClientDataSet2.EmptyDataSet后ClientDataSet2的值就永远为空了)