getIndex()

Returns the current index that this occurrence has in the array of occurrences returned by getOccurrences() on its parent entity.

Return=OccurrenceObject.getIndex()

Arguments

None.

Return value

Return—occurrence index that this occurrence currently has.

Exceptions

The following exceptions may be thrown:

Description

The occurrence index may change as the result of responses to server requests, or because occurrences were created or deleted in the browser using uniface.Occurrence API calls.

Note:  Use this function with caution. Each time the getIndex function is called, it cycles through all the occurrences to calculate its index position, which can result in slow performance.

Related Topics