TagBrowseNext
- Last UpdatedJul 18, 2023
- 1 minute read
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,TagBrowseGetField
Example
// next without first
TBResult = TagBrowseNext(TBHandle);
ErrLog("Next: " + IntToStr(TBResult) + ", Error = " + IntToStr(IsError()));
END