Page 1 of 1

Bug: Problem with BooleanDomainFields and TIBCDataSetUpdater

Posted: Tue 02 Sep 2008 15:04
by NineBerry
In TIBCDataSetUpdater.SetUpdateQueryOptions, the option BooleanDomainFields is not copied from the actual dataset to the internal dataset.

Result: When BooleanDomainFields is active for a Dataset and the dataset is configured to refresh the current record after update or insert and the dataset contains a column with a Boolean type, then the exception "EConvertError" is thrown, because the internal dataset used for refresh uses a TSmallIntField for the column, whereas the actual dataset uses a TBooleanField and expects a boolean value.

Bugfix: Add the line

Code: Select all

Dest.Options.BooleanDomainFields := Source.Options.BooleanDomainFields;
to TIBCDataSetUpdater.SetUpdateQueryOptions

Posted: Wed 03 Sep 2008 07:36
by Plash
Thank you for information. We'll add this fix in the next IBDAC build.