RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.ImplGetRecordKeys Method

Retrieves a list of field values that the dataset adapter uses to locate records, along with information for formatting hidden parameters from this values.

Pascal
procedure ImplGetRecordKeys(AValues: TStrings; var AFullyQualify: Boolean); virtual;
C++
virtual __fastcall ImplGetRecordKeys(TStrings AValues, Boolean AFullyQualify);

The GetRecordKeys method calls ImplGetRecordKeys to obtain the current values of all fields in this adapter's dataset that are needed to uniquely identify records and an indication of whether field names should be qualified by the name of the adapter when formatting hidden fields that describe this information. 

AValues is a string list to fill with the names and values of all key fields in this adapters dataset. 

AFullyQualify returns true if the field names must be qualified by the name of this adapter. 

ImplGetRecordKeys calls the GetKeyParamStrings method to fill AValues with the names and values of key fields. It then calls the FullyQualifyInputNames method to set the value of AFullyQualify. 

 

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