IBDAC

TIBCDataSetOptions.StrictUpdate Property

Used for TCustomIBCDataSet to raise an exception when the number of the updated or deleted records is not equal 1.

Class

TIBCDataSetOptions

Syntax

property StrictUpdate: boolean;

Remarks

TCustomIBCDataSet raises exception when the number of the updated or deleted records is not equal 1. Setting this option also causes an exception if the RefreshRecord procedure returns more than one record. The exception does not occur when you use non-SQL block. The default value is True. If False, the AffectedRows property is not calculated and becomes equal zero. This can improve performance of query executing, so if you need to execute many data updating statements at once and you don't mind affected rows count, set this property to False.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback