_BtDropIndex() Function

 

<< Click to Display Table of Contents >>

Navigation:  Low Level Functions >

 

_BtDropIndex() Function

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Drop index of open Btrieve Table

 

 

 

Prototype

 

 

FUNCTION _BtDropIndex ( hFile AS PTR, nKey AS BYTE )  AS LOGIC

 

 

 

Argument(s)

 

<hFile>File handle that was returned by _BtOpen
<nKey>Index Number to drop (0 is the first, 1 is the second etc.)

 

 

 

 

 

Return

 

 

LOGICWas the index dropped succesfully

 

 

 

Description

 

 

If the Drop Index operation is unsuccessful, the MicroKernel may return one of the following status codes:

 

04Invalid Key Number
41Operation Not Allowed

 

 

 

 

See Also

 

 

_BtCreateIndex()