RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IKeyParams.Values Property

Lists the values of the key fields that uniquely identify a specific dataset record.

Pascal
property Values [I: Integer]: string;
C++
__property AnsiString Values[int I];

Read Values to obtain the value of a key field. Each value in Values is equal to the AsString property of the corresponding field when the target dataset is positioned on the desired record. 

I is the index of the field value, where 0 specifies the first key field, 1 specifies the second key field, and so on. The Count method provides an upper bound for this index. 

 

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