RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.AppendData Method

Adds a newly fetched packet of records to those already stored in the client dataset.

Pascal
procedure AppendData(const Data: OleVariant; HitEOF: Boolean);
C++
__fastcall AppendData(const OleVariant Data, Boolean HitEOF);

Use AppendData to add a newly fetched packet of records from a provider to the client dataset. Data indicates the packet of records to add. HitEOF indicates whether the provider encountered the end of the dataset when it fetched the records from the database server. 

Most applications call GetNextPacket instead to fetch a packet of records and automatically add them to those already available. Use AppendData when fetching data packets directly from the provider rather than letting the client dataset fetch data. 

 

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