Cached Update Error

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Killer

Cached Update Error

Post by Killer » Sun 10 Jul 2005 02:29

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?

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 11 Jul 2005 10:52

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.

Guest

Post by Guest » Mon 11 Jul 2005 16:03

Just simulate a error on ApplyUpdate and this will happen.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Tue 12 Jul 2005 15:09

We still couldn't reproduce the problem. Please send a complete sample.

Killer

Post by Killer » Tue 12 Jul 2005 17:54

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.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Thu 14 Jul 2005 12:54

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

Post Reply