xHarbour Reference Documentation > Command Reference |
Defines the default controlling index for automatically opened index files.
SET AUTORDER TO <nOrder>
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.
See also: | OrdSetFocus(), Set(), SET AUTOPEN, SET AUTOSHARE, USE |
Category: | Database commands , SET commands , xHarbour extensions |
Source: | rtl\set.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com