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.
Sub SetSearchIndexEx(rmsHandle as Integer, nindex As Integer, numfld As Integer)
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
No return values.
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.
SetSearchIndexEx, UnSetSearchIndex, SearchFirstRecord,
SearchNextRecord, SearchLastRecord, SearchPrevRecord,
SetSearchIndex.