Datasnap.DBClient.TCustomClientDataSet.FetchDetails

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

procedure FetchDetails;

C++

void __fastcall FetchDetails();

Description

Retrieves nested detail datasets from the provider.

Call FetchDetails to retrieve nested detail sets from a provider when this information is not provided automatically. Nested details are automatically included in data packets unless the provider includes poFetchDetailsOnDemand in its Options property. (If the client dataset uses an internal provider, that provider's Options property is available as the client dataset's Options property.)

FetchDetails updates the current record to include the missing detail datasets.

There is no need to call FetchDetails if the provider automatically includes nested detail sets or if the client dataset's FetchOnDemand property is True.

See Also