RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IKeyParams.Names Property

Lists the names of the key fields that uniquely identify dataset records.

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

Read Names to obtain the name of a key field. Each value in Names is equal to the FieldName property of a field in the target dataset. 

I is the index of the field name, 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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!