InformationRegisterRecordSet.<Information register name>.IndexOf

Syntax:

IndexOf(<Record>)

Parameters:

<Record> (required)

Type: InformationRegisterRecord.
The set's record for which an index is needed.

Returned value:

Type: Number.
Index of specified record in set. If none is found, returns -1.

Description:

Obtains the index of a record in the set.

Availability:

Server, thick client, external connection, Mobile application (server).

Example:

If NewRate.IndexOf() = 0 Then 
    Message("This is the first record about rate in the set.");
EndIf
;


    

1C:Enterprise Developer's Community