Page 1 of 1

CancelUpdates requires CachedUpdates?

Posted: Wed 16 Mar 2011 13:55
by ralfiii
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

Posted: Thu 17 Mar 2011 08:30
by AndreyZ
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.