Page 1 of 1

Question on caching objects

Posted: Tue 08 Jul 2008 01:59
by MarkF
Hi Folks!

I'm wondering if it is possible to cache a text representation of an object in the dataset itself. I've been looking into an external cache, but it would certainly be nice to be able to put this into the dataset to make things more efficient and to get around issues with sorting and or filtering. Any ideas?

Thanks for any help or suggestions.

-Mark

Posted: Tue 08 Jul 2008 07:43
by Plash
You can create calculated fields in the dataset to store text representation of objects. You can use sorting and filtering on calculated fields. Set the CacheCalcFields option of TOraDataSet to True to make this operations more efficient.

Posted: Tue 08 Jul 2008 13:11
by MarkF
Thanks! I'll check that out.

-Mark