TrendFctCursorSearchFirstRow (FUN)

FUNCTION TrendFctCursorSearchFirstRow : STO.IRow

Returns the first row matching the passed INT value to search or 0 if not found. We need this function, because CursorSearch_INT might find the 2nd occurrence. If this function returns a valid IRow instance the caller is responsible to call the RowRelease method after using the IRow instance.

InOut:

Scope

Name

Type

Comment

Return

TrendFctCursorSearchFirstRow

STO.IRow

Input

itfCursor

STO.ICursor

iIdToSearch

INT

Output

eError

STO.ERROR

Returns the error code