API:Bde.DBTables.TStoredProc.UpdateObject
Delphi
property UpdateObject: TDataSetUpdateObject read FUpdateObject write SetUpdateObject;
C++
__property UpdateObject;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TStoredProc |
Description
Specifies the update object component used to update a read-only result set when cached updates are enabled. {{#multireplace:Bde.DBTables.TStoredProc.UpdateObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Bde.DBTables.TBDEDataSet.UpdateObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Bde.DBTables.TBDEDataSet.UpdateObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.