Get Next Row

Gets the next row from a query result.

Inputs

Database connection
A CwDBConnection object that represents the database connection.

Output

Returns one row of data from the query result associated with the current connection. Use this method to retrieve results from a query that returns data. Such queries include a SELECT statement and a stored procedure.

Notes

This function block is based on the CwDBConnection.nextRow() method. For more information, see nextRow().

Copyright IBM Corp. 2003, 2004