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

TrnBrowsePrev

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

This function is a non-blocking function. It does not block the calling Cicode task.

Syntax

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

See Also

Trend Functions