Bde.DBTables.TQuery.UpdateObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UpdateObject;

C++

__property UpdateObject;

Properties

Type Visibility Source Unit Parent
property published
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TQuery

Description

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

Bde.DBTables.TQuery.UpdateObject inherits from Bde.DBTables.TBDEDataSet.UpdateObject. All content below this line refers to Bde.DBTables.TBDEDataSet.UpdateObject.

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