Marcelo B de Paula
2010-07-12 23:58:02 UTC
Hi list,
As the subject of this post suggest, i am in trouble with these components.
I read that TMemDataSet was similar to Delphi´s TClientDataSet as memory
dataset. But i also read that people was using TBufDataSet instead of
TMemDataSet.
What´s the best option if you want to work with memory datasets?
IMHO, bufdataset looks like an incomplete component. It does not have an
option to "create dataset" as memds has. But what confuses me the most is
the property editor accessed through context menu (right click component).
We already have a property editor assigned to fielddefs and accessed in
object inspector.
What exactly is this property editor for? Its option "Add fields" (ctrl+ins)
always give me the error "Abstract Method Called", and the other available
option "New" (ins), opens the New Field dialog with two possible options:
"Calculated" and "Lookup".
But how this is useful if bufdataset do not have an "OnUpdateError" event
published? It does not have an OnCalcFields event, so what is this
"calculated" field for?
Please, if someone can clarify these doubts, i will appreciate. Or if
someone can point me to a document or have a sample source using these
components, i will appreciate too.
Thanks in advance.
--
As the subject of this post suggest, i am in trouble with these components.
I read that TMemDataSet was similar to Delphi´s TClientDataSet as memory
dataset. But i also read that people was using TBufDataSet instead of
TMemDataSet.
What´s the best option if you want to work with memory datasets?
IMHO, bufdataset looks like an incomplete component. It does not have an
option to "create dataset" as memds has. But what confuses me the most is
the property editor accessed through context menu (right click component).
We already have a property editor assigned to fielddefs and accessed in
object inspector.
What exactly is this property editor for? Its option "Add fields" (ctrl+ins)
always give me the error "Abstract Method Called", and the other available
option "New" (ins), opens the New Field dialog with two possible options:
"Calculated" and "Lookup".
But how this is useful if bufdataset do not have an "OnUpdateError" event
published? It does not have an OnCalcFields event, so what is this
"calculated" field for?
Please, if someone can clarify these doubts, i will appreciate. Or if
someone can point me to a document or have a sample source using these
components, i will appreciate too.
Thanks in advance.
--