The TagBrowseNext function moves the data browse cursor forward one record.
This function is a blocking function. It blocks the calling Cicode task until the operation is complete.
Syntax
INT TagBrowseNext(LONG Session)
Session:
The handle to a browse session previously returned by a TagBrowseOpen call.
Return Value
0 if successful -1 if unsuccessful.
Related Functions
TagInfoEx, TagInfo, TagBrowseClose, TagBrowseFirst, TagBrowsePrev, TagBrowseNumRecords, TagBrowseOpen, TegBrowseGetField
Example
// next without first TBResult = TagBrowseNext(TBHandle); ErrLog("Next: " + IntToStr(TBResult) + ", Error = " + IntToStr(IsError())); END
See Also
Published June 2018