Xbasic
SQL::ResultSetNextResult Method
Syntax
Result as L = NextResult()
Returns
- ResultLogical
True (.T.) = there is another result set. False (.F.) = there was an error. NotFound means there was no result set.
Description
Position to the next set of rows in the ResultSet (applies only when multiple results are returned).
Discussion
For databases that support returning more than one result set from a single SQL statement (or batch), the SQL::ResultSet.NextResult() method positions to the next SQL::ResultSet. The result set will be reinitialized and be positioned just prior to the first row in the next result set.