clientDataSet.commandText why always keep the last query??????

Category: Delphi -> Network Author: fredfredfred111 Date: 2012-08-06 11:26:21
 
fredfredfred111
2012-08-06 11:26:21
I am in the process a:
group: clientDataset
group.Close;
group.CommandText: = 'Select * from member';
group.Open;

then in the process of two:
group: clientDataset
group.Close;
group.CommandText: = 'Select * from group ';
group.Open;
but CommandText or' select * from member '
this Why??????????????????????????
energy923
2012-08-06 11:38:18
I think your program is a problem when you debug trace Click to see the changes in the value of
sun704493609
2012-08-06 11:54:23
should not, you look at the remote module ADOQuery.SQL
whcyy2000
2012-08-06 12:01:04
impossible to! Upstairs on debugging watched!
sdfhdfgjkfhghn
2012-08-06 12:14:46
I know why, because I was in the process two years Sql statement in question, but did see an error when debugging on a Sql statement. Thank you!