Show: Delphi C++
Display Preferences

Data.DB.TIndexDef

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TNamedItemSystem.Classes.TCollectionItemSystem.Classes.TPersistentSystem.TObjectTIndexDef

Delphi

TIndexDef = class(TNamedItem)

C++

class PASCALIMPLEMENTATION TIndexDef : public TNamedItem

Properties

Type Visibility Source Unit Parent
class public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

TIndexDef describes an index in a database table.

Use the properties and methods of an index definition to:

  • Set the attributes of a new index in a table created with TTable.CreateTable or TClientDataSet.CreateDataSet.
  • Determine the name of an index.
  • Identify the fields that make up the index or the dBASE expression that orders the index.
  • Determine the characteristics of the index.
Note: You cannot use TIndexDef objects in a dataset component's IndexDefs property to add indexes to already existing tables. To do that, use methods such as TTable.AddIndex and TClientDataSet.AddIndex.

See Also


Personal tools
In Other Languages
Previous Versions
Assistance