RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIndexDef.Create Constructor

Creates an instance of TIndexDef.

Pascal
constructor Create(Owner: TIndexDefs; const Name: string; const Fields: string; Options: TIndexOptions); overload; reintroduce;
C++
__fastcall TIndexDef(TIndexDefs Owner, const AnsiString Name, const AnsiString Fields, TIndexOptions Options);

Do not explicitly create index definition objects. A TIndexDef is created automatically by the dataset for each existing index of the table. When creating new indexes, use the TIndexDefs.AddIndexDef method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!