Bde.DBTables.TBDEDataSet.UpdateObject

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TBDEDataSet

Delphi

property UpdateObject: TDataSetUpdateObject read FUpdateObject write SetUpdateObject;

C++

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

Description

Specifies the update object component used to update a read-only result set when cached updates are enabled.

Use UpdateObject to specify the TUpdateObject component to use in an application that must be able to update a read-only result set returned by the Borland Database Engine (BDE).

The BDE always attempts to provide an updatable, or "live" query result unless an application specifically requests a read-only view of data. In some cases, such as a query made against multiple tables, a live result set cannot be returned. In these cases, UpdateObject can be used to specify a TUpdateSQL component that performs updates as a separate transaction that is transparent to the application.

See Also