CancelUpdates requires CachedUpdates?

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ralfiii
Posts: 25
Joined: Wed 16 Mar 2011 09:25

CancelUpdates requires CachedUpdates?

Post by ralfiii » Wed 16 Mar 2011 13:55

Hello!

I am in the process of porting an IBX-application to IBDac.
Why can't I call IBCTable.CancelUpdates when IBCTable1.CachedUpdates=False ?
(Exception: EDatabaseError 'Not in cached update mode')

I've set AutoCommit of Connection and Table to false. It should be possible to call CancelUpdates at any time, independently from the CachedUpdates-property. Why do I get an exception?

Thanks,
Ralf

AndreyZ

Post by AndreyZ » Thu 17 Mar 2011 08:30

Hello,

This is a correct behaviour. In such way IBDAC informs you that the CancelUpdates method didn't do anything, because you are not using CachedUpdates.

Post Reply