Cicode Programming Reference > Cicode Function Categories > Alarm Functions > AlmBrowsePrev

AlmBrowsePrev

The AlmBrowsePrev 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 blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

INT AlmBrowsePrev(LONG iSession)

iSession:

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

Return Value

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

Related Functions

AlmBrowseAck, AlmBrowseDisable, AlmBrowseEnable, AlmBrowseClose, AlmBrowseFirst, AlmBrowseGetField, AlmBrowseNext, AlmBrowseNumRecords, AlmBrowseOpen

See Also

Alarm Functions

Published June 2018