Navigating the Result Set Navigating the Result Set A result set 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 and caches the row data. Returns 0 if the cursor is at the end of the result set. SkipNext() method SkipNext(ByRef pSC As %Status) returns %Integer Advances the cursor to the next row. Returns 0 if the cursor is at the end of the result set.