I need some help concerning TClientDataSet
since after doing extensive research, I'm still confused about some features.
From what I so far understand, saving the TClientDataSet
structure to a file, preserves only the FieldDefs
. All other definitions such as filters
and indexes
are lost. So, I must recreate them after openning the DataSet
, in order to that definitions take place.
I infere from this, that, if I want to store those definitions in disk (so they will available to the application as a whole and not only for a specific form), I must maintain a separate DataSet
. Then, at runtime, I can recreate all definitions from that DataSet
.
My question is: is there any other mechanism to store those definitions, other than the one mentioned above? A TDataSetProvider
can do the trick?
I appologize for my ignorance and appreciate any enlightment about the subject.
Thanks in advance.