[ACCEPTED]-How can I delete all the records from a TClientDataset at once?-tclientdataset
Accepted answer
Yes is possible, you must use the EmptyDataSet
procedure.
try 1 this
ClientDataSet1.DisableControls;
try
ClientDataSet1.EmptyDataSet;
finally
ClientDataSet1.EnableControls;
end;
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.