xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DbClearIndex()

Closes all indexes open in the current work area.

Syntax

DbClearIndex() --> NIL

Return

The return value is always NIL.

Description

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.

Info

See also:DbCreateIndex(), DbReindex(), DbSetIndex(), DbSetOrder(), OrdListClear(), SET INDEX
Category: Database functions , Index functions
Source:rdd\rddord.prg
LIB:xhb.lib
DLL:xhbdll.dll

Example

// refer to the example for OrdListClear()

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