RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.DefaultIndex Property

Specifies if the data in the table should be ordered on a default index when opened.

Pascal
property DefaultIndex: Boolean;
C++
__property Boolean DefaultIndex;

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. 

 

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