Progress
SQL-92
Guide and Reference


SQLCursor.fetch

Fetches the next record in a result set, if there is one.

Format

public void fetch()

Returns

None

Parameters

None

Throws

DhSQLException

EXAMPLE

This code fragment illustrates the fetch method and the getValue method:

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


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