Subject | BUG: not "live" query can't be inserted |
---|---|
Author | pi3k14 |
Post date | 2006-08-22T06:08:03Z |
Hi all,
we are upgrading our app to use the latest IB_Objects version, and
stumbled over this problem.
There have been a change in TIBODataset.GetCanModify that requires a
dataset to either have set the property RequestLive or CachedUpdates
to allow inserts.
This conflicts with the following statement in the help description
for the TIB_Query.RequestLive property "Even if a dataset is not
"live" it can still be inserted into because in SQL there is no
concept of a INSERT INTO CURSOR."
The workaround is to set the RequestLive property.
Thank you
frode
we are upgrading our app to use the latest IB_Objects version, and
stumbled over this problem.
There have been a change in TIBODataset.GetCanModify that requires a
dataset to either have set the property RequestLive or CachedUpdates
to allow inserts.
This conflicts with the following statement in the help description
for the TIB_Query.RequestLive property "Even if a dataset is not
"live" it can still be inserted into because in SQL there is no
concept of a INSERT INTO CURSOR."
The workaround is to set the RequestLive property.
Thank you
frode