Bde.DBTables.TTable.DefaultIndex
| [–] Properties | |
|---|---|
| Type: property | |
| Visibility: published | |
| Source: Bde.DBTables.pas Bde.DBTables.hpp
| |
| Unit: Bde.DBTables | |
| Parent: TTable | |
Delphi
property DefaultIndex: Boolean read FDefaultIndex write FDefaultIndex default True;
C++
__property bool DefaultIndex = {read=FDefaultIndex, write=FDefaultIndex, default=1};
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.