Sign in Join
FPDoc Onlineexperiment

TIndexDef.Fields property

Member of TIndexDefpublishedIn unit DB

Fields making up the index.

Declaration

pascal
property Fields: string read FFields write FFields;

Description

Fields is a list of fieldnames, separated by semicolons: the fields that make up the index, in case the index is not based on an expression. The list contains the names of all fields, regardless of whether the sort order for a particular field is ascending or descending. The fields should be in the right order, i.e. the first field is sorted on first, and so on.

The DescFields property can be used to determine the fields in the list that have a descending sort order. The CaseInsFields property determines which fields are sorted in a case-insensitive manner.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.