RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.FetchDetails Method

Retrieves nested detail datasets from the provider.

Pascal
procedure FetchDetails;
C++
__fastcall FetchDetails();

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 data sets. 

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. 

 

RowRequest 

FetchOnDemand 

Options 

BeforeRowRequest 

AfterRowRequest 

Options 

Requesting Data from the Source Dataset or Document 

Communicating with the Client Dataset

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!