xHarbour Reference Documentation > Function Reference |
Closes all indexes open in the current work area.
DbClearIndex() --> NIL
The return value is always NIL.
The function DbClearIndex() closes all indexes open in the current work area. When the operation is complete, all pending index updates are written to disk and the records become accessible in physical order again.
Use an aliased expression to close indexes in a different work area.
Note: This function is superseded by the OrdListClear() function.
See also: | DbCreateIndex(), DbReindex(), DbSetIndex(), DbSetOrder(), OrdListClear(), SET INDEX |
Category: | Database functions , Index functions |
Source: | rdd\rddord.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// refer to the example for OrdListClear()
http://www.xHarbour.com