I'm developing an application in the delphi6.
I've a ClientDataSet (cds), a DataSetProvider (dsp) and a DataSource (ds) that ds's DataSet is cds and cds's ProviderName is 'dsp'.
I add some records to the cds on some specified conditions.
After I set a filter for the cds and set it's Filtered property to True, when I want to close it, it raise an exception by "Operation Not Applicable" message even I clear the Filter property and set the Filtered property to false.
How can I close the ClientDataSet without error?

有帮助吗?

解决方案

ONA error comes from midas.dll and I had it quite often until I switched to my own implementation you could try midas.dll from newer versions of delphi

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top