2007-09-03 10:19:21 PM off-topic4
I have a ClientDataSet used in two forms.
When I insert a record using one form, the OnCalcFields is fired with
dsInternalCalc.
When I insert a record using the other form, the OnCalcFields is never
fired with dsInternalCalc.
Why?
Thanks.
--
Erick Sasse
Erwin Mouthaan
Delphi Developer
2007-09-04 02:38:40 AM
Re:InternalCalc no fired
Hi Erick,
Maybe because the other form uses a clone of the clientdataset, and the
clone does not inherit any standard calculated fields from the original
dataset.
Regards,
Erwin
Erick Sasse
Delphi Developer
2007-09-04 02:54:11 AM
Re:InternalCalc no fired
Erwin Mouthaan wrote:
Quote
Maybe because the other form uses a clone of the clientdataset, and
the clone does not inherit any standard calculated fields from the
original dataset.
No, both are using the same CDS. This CDS has a clone though, but it's