Bde.DBTables.TTable.DefaultIndex
Delphi
property DefaultIndex: Boolean read FDefaultIndex write FDefaultIndex default True;
C++
__property bool DefaultIndex = {read=FDefaultIndex, write=FDefaultIndex, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TTable |
Description
Specifies if the data in the table should be ordered on a default index when opened.
When this property is set to false, the BDE does not use an ORDER BY clause when opening a table on a SQL server. When DefaultIndex is true, the BDE attempts to order the data based on the primary key or a unique index when opening the table. DefaultIndex defaults to true.