RDD

DbReindex()

Rebuild all active indexes

Syntax

Signature
DbReindex() --> NIL

Arguments

None.

Return value

NIL.

Description

DbReindex() recreates every active index in the current work area's order list from its stored key expression.

Notes

The work area must be open and its index files writable.

Example

DbReindex.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   DbReindex()
   QOut( "DbReindex: OK" )
   DbCloseArea()

   RETURN

Output

See also