RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.ProviderEOF Property

Indicates whether the client dataset has all of its data.

Pascal
property ProviderEOF: Boolean;
C++
__property Boolean ProviderEOF;

ProviderEOF is used internally to check whether an associated provider has supplied the client dataset with its last record. If the client dataset fetches its data from a file or represents a nested detail dataset, ProviderEOF is always true. If the client dataset fetches its data from a provider, it sets ProviderEOF to true when it is certain that it has fetched the last data packet from the provider.

Note: When ProviderEOF is false, it is possible that the provider has supplied the last record but the client dataset has not yet tried to obtain the next record. That is, when ProviderEOF is true, there is definitely no need to fetch more records, but when ProviderEOF is false, it is uncertain.
 

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