Icon GetIndexForFields Method

function GetIndexForFields(const Fields: String;
      CaseInsensitive: Boolean): TDBISAMIndexDef

Usage

Call the GetIndexForFields method to locate a specific index definition by the fields that make up the index. The Fields parameter specifies the fields to use in the search. If multiple field names are specified, separate each field name with a semicolon (;). If an index definition is found that matches the specified fields, a reference to the index definition is returned, otherwise nil is returned. The search against the field names is case-insensitive.
Image