Datasnap.DBClient.TCustomClientDataSet.ProviderEOF

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ProviderEOF: Boolean read GetProviderEOF write SetProviderEOF;

C++

__property bool ProviderEOF = {read=GetProviderEOF, write=SetProviderEOF, nodefault};

Properties

Type Visibility Source Unit Parent
property protected
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

Description

Indicates whether the client dataset has all of its data.

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.

See Also