FireDAC.Comp.DataSet.TFDIndexes.FindIndexForFields

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function FindIndexForFields(const AFields: String;  ARequiredOptions: TFDSortOptions = []; AProhibitedOptions: TFDSortOptions = []): TFDIndex;

C++

TFDIndex* __fastcall FindIndexForFields(const System::UnicodeString AFields, Firedac::Stan::Intf::TFDSortOptions ARequiredOptions = Firedac::Stan::Intf::TFDSortOptions() , Firedac::Stan::Intf::TFDSortOptions AProhibitedOptions = Firedac::Stan::Intf::TFDSortOptions() );

Propriétés

Type Visibilité  Source Unité  Parent
function public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDIndexes


Description

Cherche un objet TFDIndex existant en triant des champs et des options.

Utilisez la méthode FindIndex pour chercher une vue en triant des champs et des options. Si la vue n'est pas trouvée, FindIndexForFields renvoie nil.

La vue correspondante doit comporter des champs en commençant par AFields. Les champs peuvent inclure plusieurs champs que AFields. De plus, toutes les options ARequiredOptions doivent être incluses dans Options, tandis qu'aucune option AProhibitedOptions ne doit être incluse dans Options.

Voir aussi