xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DbReindex()

Rebuilds indexes open in a work area.

Syntax

DbReindex() --> NIL

Return

The return value is always NIL.

Description

The function DbReindex() exists for compatibility reasons. Is is superseded by function OrdListRebuild().

DbReindex() rebuilds all open indexes in the current work area. Use an aliased expression to rebuild indexes in other work areas.

Info

See also:DbClearIndex(), DbCreateIndex(), DbSetIndex(), DbSetOrder(), INDEX, OrdCreate(), OrdListRebuild(), REINDEX
Category: Database functions , Index functions
Source:rdd\rddord.prg
LIB:xhb.lib
DLL:xhbdll.dll

Example

// refer to the example of OrdListRebuild()

Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe