Skip to main content

Navigating the Snapshot

Navigating the Snapshot

A snapshot consists of rows of data. You can use the following methods to navigate through the rows:

Next()
method Next(ByRef pSC As %Status) returns %Integer 

Advances the cursor to the next row. Returns 0 if the cursor is at the end of the snapshot.

Rewind()
method Rewind() returns %Status 

Returns the cursor to the first row of the snapshot.

FeedbackOpens in a new tab