Page 1 of 1

Disconnected dataset.

Posted: Fri 23 Apr 2010 11:13
by MarkF
I'd really like to keep my data after a disconnect but still have the ability to sort it and filter it. I can't use the session disconnectedmode due to threading issues and I can't use the disconnect feature of TOraDataset as it doesn't support complex types.

Does anyone have any suggestions at all?

I currently convert the complex objects to strings for display (I cache them outside the dataset). Is it possible to do that conversion in the dataset somehow such that it could be disconnected?

Alternately, do people use a clientdataset or in memory dataset to do this kind of thing?

Thanks for any suggestions!

-Mark

Posted: Tue 27 Apr 2010 07:08
by bork
Hello

Yes, you can use TClientDataSet for your purposes. But you should remember that TClientDataSet works slowly if you try to use it for working with large volume of data.