Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread OldValue / ClientDataSet / Elevate
Mon, Oct 6 2008 8:13 PMPermanent Link

Jeff Dunlop
I have a persistent and reproducable problem where, if I access the OldValue property of a field in a ClientDataSet, the rows display strangely --
rows appear multiple times -- in any grid, Borland's or 3rd party. When I click on a duplicated row, all of the duplicated copies show the
selected property. If I remove the read of the OldValue, the problem goes away. Any ideas?
Mon, Oct 6 2008 8:17 PMPermanent Link

Jeff Dunlop
An additional bit of information is that the problem appears to be isolated to reading OldValue in OnCalcFields; it doesn't cause problems reading
it for example in AfterScroll.
Tue, Oct 7 2008 1:51 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jeff,

<< I have a persistent and reproducable problem where, if I access the
OldValue property of a field in a ClientDataSet, the rows display
strangely -- rows appear multiple times -- in any grid, Borland's or 3rd
party. When I click on a duplicated row, all of the duplicated copies show
the selected property. If I remove the read of the OldValue, the problem
goes away. Any ideas? >>

The OldValue handling in a TClientDataSet is handled exclusively by that
component, and does not interrogate the DBISAM dataset for this information.
So, you may want to ask this on the CodeGear newsgroups if you don't get an
answer here.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image