RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideDataSet.PSGetKeyFields Method

Returns the names of all fields required to uniquely identify records in the data packet.

Pascal
function PSGetKeyFields: string; override; deprecated;
C++
virtual __fastcall AnsiString PSGetKeyFields();

The provider component calls PSGetKeyFields to determine what information is required to uniquely identify records in the data packet. This information allows it to locate the records that need to change when it applies updates. 

PSGetKeyFields returns a semicolon-delimited string that lists the names of the key fields of the dataset. By default (as implemented by TDataSet), these are the fields with pfInKey included in their ProviderFlags property. 

 

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