Is possible delete all the records from a TClientDataset
at once?
Yes it is possible, you must use the EmptyDataSet
procedure.
try this
ClientDataSet1.DisableControls;
try
ClientDataSet1.EmptyDataSet;
finally
ClientDataSet1.EnableControls;
end;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With