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

AlmBrowseNext

The AlmBrowseNext 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

INT AlmBrowseNext(LONG iSession)

iSession:

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

Return Value

0 (zero) if the browse has successfully been moved to the next record, otherwise an error code is returned.

Related Functions

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

See Also

Alarm Functions

Published June 2018