Page 1 of 1

Cached Update Error

Posted: Sun 10 Jul 2005 02:29
by Killer
When I delete all records from dataset, do applyupdates, do restoreupdates and finally do cancelupdates, then the deleted records don't comeback. They comeback only when I call the First method.

PS: This happen with Demo Cache.

Any ideas?

Posted: Mon 11 Jul 2005 10:52
by Ikar
If ApplyUpdates was executed then all the rest methods are senseless.

> They comeback only when I call the First method.

Please specify an exact order of calling methods to reproduce the problem.

Posted: Mon 11 Jul 2005 16:03
by Guest
Just simulate a error on ApplyUpdate and this will happen.

Posted: Tue 12 Jul 2005 15:09
by Ikar
We still couldn't reproduce the problem. Please send a complete sample.

Posted: Tue 12 Jul 2005 17:54
by Killer
The Demo Cache, in the demo folder of SDCA components.
With this demo you can reproduce this error.


D:\Components\Sdac\Demos\Win32\CachedUpdates\Cached.dpr.

follow steps in my first post and the error will show itself.

Posted: Thu 14 Jul 2005 12:54
by Ikar
From your post it is not clear how to simulate ApplyUpdates error why method
First here.
Please add to the test "Bug" button and in its handler execute corresponding
sequence to reproduce the problem. Then send this example by email
to mydac*crlab*com