RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterField.GetKeyParams Method

Returns a list of fields that the parent dataset adapter uses to locate records, along with their current values in that adapter's dataset.

Pascal
procedure GetKeyParams(Params: TLocateParamsList);
C++
__fastcall GetKeyParams(TLocateParamsList Params);

GetKeyParams fills out a TLocateParamsList object with the current values of all fields that the parent dataset adapter uses to uniquely identify records, along with all similarly-used fields in any dataset adapter's linked to the parent dataset in a master/detail relationship. 

Params is a collection of TLocateParams objects, where each TLocateParams object lists the key fields and their values for a single dataset adapter. 

GetKeyParams calls the GetKeyParams method of the parent dataset adapter. 

 

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