Data.DB.TIndexDef.Fields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Fields: string read GetFields write SetFields;

C++

__property System::UnicodeString Fields = {read=GetFields, write=SetFields};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TIndexDef

Description

Identifies the fields that comprise the index.

When creating an index, set Fields to a list of fields separated by semicolons (no semicolon is required if there is only one field in the index). The order of field names in the string determines the order of fields in the index.

When inspecting already-existing indexes, read Fields to determine the fields that make up the index. The string returned can be either the names of the fields, or the numbers of the field. When numbers are used, the numbers correspond to the physical field numbers in the table. Multiple fields in the string are separated by semicolons (;).

Note:

See Also

Code Examples