Data.DB.TIndexDef

[–] Properties | |
---|---|
Type: class | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: Data.DB |
Delphi
TIndexDef = class(TNamedItem)
C++
class PASCALIMPLEMENTATION TIndexDef : public TNamedItem
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