SET AUTORDER
Defines the default controlling index for automatically opened index files.
Syntax
SET AUTORDER TO <nOrder>
Arguments
<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.
Description
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.
Note
Refer to SET AUTOPEN for an example of automatic selection of the controlling index.
Seealso
OrdSetFocus(), Set(), SET AUTOPEN, SET AUTOSHARE, USE