Release 10.1A: OpenEdge Data Management:
SQL Reference

> ## SQLCursor.close

> Closes the result set specified by a `SELECT` or `CALL` statement.

> ##### Format

> `public void close()`

> ##### Returns

> None

> ##### Parameters

> None

> ##### Throws

> `DhSQLException`

> Example

> This code fragment illustrates the `getValue` and `close` methods:

>     {
>          if (cust_cursor.Found ())
>          {
>               cust_cursor.getValue (1, cust_number);
>               cust_cursor.getValue (2, cust_name) ;
>          }
>          else
>               break;
>     }
>          cust_cursor.close () ;

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095