RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseProvider.UpdateRecord Method

Retrieves specified data from a source dataset into a delta packet.

Pascal
procedure UpdateRecord(Source: TDataSet; Delta: TDataSet; BlobsOnly: Boolean; KeyOnly: Boolean); virtual;
C++
virtual __fastcall UpdateRecord(TDataSet Source, TDataSet Delta, Boolean BlobsOnly, Boolean KeyOnly);

UpdateRecord is called indirectly by the RowRequest method to fetch BLOB fields or nested detail sets. The Source parameter is the dataset containing the BLOB fields or the detail dataset. The Delta parameter is a delta packet that returns the requested data. BlobsOnly indicates whether all field values should be provided (BlobsOnly == false) or only Blob field values (BlobsOnly == true). 

As implemented in TBaseProvider, UpdateRecord does nothing. Descendants override this method to fill the Delta parameter with the requested information. 

 

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