SetSearchIndex

SetSearchIndexEx sets the secondary index and number of fields to use to search the open RMS file and sets an internal secondary index searching flag.

Syntax

Sub SetSearchIndexEx(rmsHandle as Integer, nindex As Integer, numfld As Integer)

Parameters

rmsHandle

RMS file handle

nindex

The secondary index number to set

numfld

Number of fields in the secondary index to use to match the record

Return Values

No return values.

Remarks

The function SetSearchIndexEx sets the secondary index and number of fields in the index to use to search the RMS record.  The first number of fields specified in the secondary index must have their field data set to the internal query buffer before calling the secondary index record searching functions.

See Also

SetSearchIndexEx, UnSetSearchIndex, SearchFirstRecord,

SearchNextRecord, SearchLastRecord, SearchPrevRecord,

SetSearchIndex.