| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Rebuilds all indexes open in the current work area
OrdListRebuild() --> NIL
The function always returns NIL.
OrdListRebuild() is used to reorganize all indexes open in the current work area. Use function OrdCreate() to reorganize a single index.
| See also: | DbClearIndex(), DbCreateIndex(), DbSetIndex(), DbSetOrder(), INDEX, OrdCreate(), OrdListAdd(), OrdListClear(), REINDEX |
| Category: | Database functions , Index functions |
| Source: | rdd\dbcmd.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
// The example opens a database along with two index files. All indexes
// stored in the index files are rebuild.
PROCEDURE Main
USE Customer
SET INDEX TO Cust01, Cust02
OrdListRebuild()
USE
RETURN
http://www.xHarbour.com