Board index » delphi » ClientDataSet SaveToFile problem
Brad Miller
Delphi Developer |
ClientDataSet SaveToFile problem2004-04-07 04:26:45 AM delphi210 So I replaced a horribly slow COM/ActiveX single-tier app with a ClientDataSet. Performance is fantastic, everything is great. Then I realize that I am not doing enough savetofile calls, as I wnat the data to be as current as possible in the event that the app/pc shuts down unexpectedly. So I am testing this by loading up the cds, then killing the app. When the app is restarted, the data is there as I expect. But then attempting to do further saveToFile calls is leading to EFCreateError exceptions, claiming it cannot create the file "mycds.cds". Now I have never seen this kind of behavior before, and I am a bit puzzled as to what could be going on. This is D5. Any ideas greatly appreciated! Brad |