Data.SqlExpr.TSQLTable.IndexFields

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property IndexFields[Index: Integer]: TField read GetIndexField write SetIndexField;

C++

__property Data::Db::TField* IndexFields[int Index] = {read=GetIndexField, write=SetIndexField};

Propriétés

Type Visibilité  Source Unité  Parent
property public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TSQLTable

Description

Spécifie les champs associés à l'index actif.

IndexFields propose un tableau, d'indice de base zéro, d'objets champ, chacun d'eux correspondant à un champ de l'index en cours. Index est une valeur ordinale indiquant la position d'un champ dans l'index. Le premier champ dans l'index est IndexFields[0], le deuxième est IndexFields[1], et ainsi de suite.

Remarque :  Ne définissez pas directement IndexFields. Utilisez plutôt la propriété IndexFieldNames pour indiquer l'ordre de tri des enregistrements de la table.

Voir aussi