Defines the default controlling index for automatically opened index files.
SET AUTORDER TO <nOrder>
<nOrder> This is a numeric value specifying the ordinal position of the index to select as the controlling index when SET AUTOPEN is set to ON. The default is zero.
When SET AUTOPEN is set to ON and the RDD supports automatic opening of structural indexes, the SET AUTORDER command specifies the index to activate as the controlling index. The default value for <nOrder> is zero, i.e. no controlling index is activated when an index file is automatically opened with the USE command. In this case, records of the database are accessible in physical order in the work area.
Refer to SET AUTOPEN for an example of automatic selection of the controlling index.
OrdSetFocus(), Set(), SET AUTOPEN, SET AUTOSHARE, USE