IBX.IBCustomDataSet.TIBCustomDataSet.UpdateObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UpdateObject: TIBDataSetUpdateObject read FUpdateObject write SetUpdateObject;

C++

__property TIBDataSetUpdateObject* UpdateObject = {read=FUpdateObject, write=SetUpdateObject};

Properties

Type Visibility Source Unit Parent
property public
IBX.IBCustomDataSet.pas
IBX.IBCustomDataSet.hpp
IBX.IBCustomDataSet TIBCustomDataSet

Description

Specifies the update object component used to update a read-only result set.

Use UpdateObject to specify the TIBDataSetUpdateObject component to use in an application that must be able to update a read-only result set.

In some cases, such as when using TIBQuery, the dataset does not automatically update records. In these cases, UpdateObject can be used to specify a TIBUpdateSQL component that performs updates as a separate transaction that is transparent to the application.

TIBDataSetUpdateObject is especially useful for complicated updates from an OnUpdateRecord event.