RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStoredProc.UpdateObject Property

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

Pascal
property UpdateObject: TDataSetUpdateObject;
C++
__property TDataSetUpdateObject UpdateObject;

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. 

 

CachedUpdates 

ApplyUpdates 

TUpdateSQL 

Using the BDE to Cache Updates 

Using Update Objects to Update a Dataset 

Updating a Read-only Result Set 

Using TQuery 

Using TUpdateSQL to Update a Dataset

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!