Tuesday, May 26, 2009

TClientDataSet::AppendData

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

void __fastcall AppendData(const System::OleVariant &Data, bool HitEOF);

Description

Use AppendData to add a newly fetched packet of records from the server application to the client dataset. Data indicates the packet of records to add. HitEOF indicates whether or not the application server 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 application server rather than letting the client dataset fetch data.

No comments:

Post a Comment