<< Click to Display Table of Contents >> Navigation: Apollo API Listing > sx_IndexClose |
Declare Sub sx_IndexClose Lib "Apollo9.dll" ()
VOID FAR PASCAL sx_IndexClose (VOID);
Closes the current index file. If this is a compound index, the effect is the same as sx_CloseIndexes.
' close and kill index if its a conditional index
If sx_IndexType() = INDEX_CONDITIONAL Then
IndexName$ = sx_IndexName(sx_IndexOrd())
sx_IndexClose
Kill IndexName$
End If
iRet = sx_SetOrder(MasterIndex)
// close and kill IDX index if its a conditional index
if (sx_IndexType() == INDEX_CONDITIONAL)
{
lstrcpy((LPSTR) caIndex, (LPSTR) sx_IndexName(sx_IndexOrd()));
sx_IndexClose();
unlink(caIndex);
}
sx_SetOrder(sx_TagArea("last"));