Page 1 of 1

error "not in cached updates mode"

Posted: Fri 16 Dec 2016 08:26
by albourgz
Hi,
using c++ builder xe10 seattle. Connected to oracle 12.

TUniQuery *q;
TUniDataSource
TDBCtrlGrid.
q->CachedUpdates=false;
q->Open();
q->ApplyUpdates();
=> EDatabaseError Exception: not in cached update mode.

Why why why?

Re: error "not in cached updates mode"

Posted: Fri 16 Dec 2016 14:13
by MaximG
According to our documentation the ApplyUpdates method is used to write dataset pending cached updates to a database : https://www.devart.com/unidac/docs/?dev ... ates().htm Note that dataset must be in the cached updates mode. This mode is defined by the СachedUpdates parameter : https://www.devart.com/unidac/docs/?dev ... pdates.htm .