xHarbour Reference Documentation > Function Reference |
Opens an index file.
DbSetIndex( <cIndexFile> ) --> NIL
The return value is always NIL.
DbSetIndex() exists for compatibility reasons. It is superseded by OrdListAdd().
Note that DBSetIndex() opens an index file only, it does not change the controlling index, unless it is the first index to open.
See also: | DbClearIndex(), DbCreateIndex(), DbSetOrder(), OrdListAdd(), SET INDEX |
Category: | Database functions , Index functions |
Source: | rdd\rddord.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// refer to the OrdListAdd() function for an example
http://www.xHarbour.com