LocalUpdate doesn't work when CachedUpdates=true

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
FILLrate
Posts: 19
Joined: Thu 28 Jan 2010 09:14

LocalUpdate doesn't work when CachedUpdates=true

Post by FILLrate » Thu 28 Jan 2010 09:30

Hello.
I need to update MSStoredProc with CachedUpdates=true locally. So
MSStoredProc.CachedUpdates = true
MSStoredProc.LocalUpdate = true
MSStoredProc.Insert
MSStoredProc.
MSStoredProc.Post
MSStoredProc.LocalUpdate = false
MSStoredProc.Insert
MSStoredProc.
MSStoredProc.Post
MSStoredProc.ApplyUpdates
MSStoredProc.CommitUpdates

And I have two inserted records in the database :cry: What's wrong?!

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 29 Jan 2010 11:36

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next SDAC build.

FILLrate
Posts: 19
Joined: Thu 28 Jan 2010 09:14

Post by FILLrate » Fri 29 Jan 2010 12:39

ok, thanks.

Post Reply