Icon FindIndexForFields Method

function FindIndexForFields(const Fields: String):
      TDBISAMIndexDef

Usage

Call the FindIndexForFields 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 an exception is raised. The search against the field names is case-insensitive. The FindIndexForFields method is essentially a wrapper around the GetIndexForFields method that raises an exception if the GetIndexForFields method returns nil.
Image