RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBDataBase.ApplyUpdates Method

Posts pending cached updates for specified datasets to the database server.

Pascal
procedure ApplyUpdates(const DataSets: array of TDataSet);
C++
__fastcall ApplyUpdates(const array of TDataSet DataSets);

Call ApplyUpdates to post pending cached updates for a specific set of open datasets to the database server. ApplyUpdates is only meaningful if the CachedUpdates property of a specified dataset is true. 

DataSets is a list of dataset names specifying the datasets for which to post pending updates. DataSets need not list every currently open dataset. For each listed dataset ApplyUpdates calls the dataset's ApplyUpdates and CommitUpdates methods to post that dataset's pending cached updates. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!