IBX.IBQuery.TIBQuery.UpdateObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UpdateObject: TIBDataSetUpdateObject read FUpdateObject write SetUpdateObject;

C++

__property UpdateObject;

Properties

Type Visibility Source Unit Parent
property published
IBX.IBQuery.pas
IBX.IBQuery.hpp
IBX.IBQuery TIBQuery

Description

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

IBX.IBQuery.TIBQuery.UpdateObject inherits from IBX.IBCustomDataSet.TIBCustomDataSet.UpdateObject. All content below this line refers to IBX.IBCustomDataSet.TIBCustomDataSet.UpdateObject.

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.