}

/*
 * If we exited the loop because we ran out of records,
 * then it has completed successfully.
 */
if (ret == DB_NOTFOUND) {
    /* 
     * Close all our cursors and databases as is appropriate,  and 
     * then exit with a normal exit status (0). 
     */
} </pre>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="secondaryCursor.html">Prev</a> </td>
      