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

TrnBrowseNext

The TrnBrowseNext function moves the data browse cursor forward one record. If you call this function after you have reached the end of the records, error 412 is returned (Databrowse session EOF).

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

Syntax

TrnBrowseNext(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, TrnBrowseFirst, TrnBrowseGetField, TrnBrowseNumRecords, TrnBrowseOpen, TrnBrowsePrev

See Also

Trend Functions