NextSIndexRecord gets the next secondary indexed record of the open RMS file and stores the record data in the internal query buffer.
Function NextSIndexRecord(rmsHandle as Integer) As Integer
rmsHandle
RMS file handle
On success, NextSIndexRecord returns 1. If failed, it returns 0.
To get fields data:
If function RegisterField is not called, first call GetFieldCount to get the number of fields in
the RMS file then for each field call GetFieldType and GetStringField, GetCharField,
GetIntegerField, GetLongField, GetRealField, GetMoneyField, GetDateField,
GetTimeField, GetBooleanField depends on the field types
If function RegisterField is called, call FirstRegistedField and NextRegistedField to get
the field names corresponding to the field data in the query buffer and for each field name call
GetFieldTypebyName and GetStringFieldbyName, GetCharFieldbyName,
GetIntegerFieldbyName, GetLongFieldbyName, GetRealFieldbyName,
GetMoneyFieldbyName, GetDateFieldbyName, GetTimeFieldbyName and
GetBooleanFieldbyName depends on the field types.
LastSIndexRecord, NextSIndexRecord, PrevSIndexRecord,
FirstSIndexRecord