Cicode Programming Reference > Cicode Function Categories > Trend Functions Introduction > TrnBrowseFirst

TrnBrowseFirst

The TrnBrowseFirst function places the data browse cursor at the first record.

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

TrnBrowseFirst(iSession)

iSession

The handle to a browse session previously returned by a TrnBrowseOpen call.

Return Value

0 (zero) if the trend browse session exists, otherwise an error is returned.

Related Functions

TrnBrowseClose, TrnBrowseGetField, TrnBrowseNext, TrnBrowseNumRecords, TrnBrowseOpen, TrnBrowsePrev

See Also

Trend Functions