sqlipOpenNextCursor
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method is called if the sqlipGetInfo reports that the statement has more results. If the statement has more results pending, then move to the next result. A call to sqlipGetColspec after calling sqlipOpenNextCursor returns the description of this new cursor.
int sqlipOpenNextCursor(xo_int piNumResRows);
Parameters for sqlipOpenNextCursor
| Parameter | Type | Description |
| OUTPUT | ||
| piNumResRows | xo_int | Number of rows in the cursor or the number of rows affected for data modifying query. If the statement results in a cursor and the number of rows in the cursor cannot be determined, then return –1. |
| RETURN | ||
| int | OADS_SUCCESS OADS_ERROR – error opening next cursor OADS_NO_DATA – no additional cursors are available |