h the first 10 records for ( int i = 0; i < qds.size(); i++ ) { Record rec = qds.getRecord(i); int value = rec.getValue("column").asInt(); System.out.println ( "The value is: " + value ); } qds.close(); It is important to always remember to close() a QueryDataSet in order to free the allocated resources.
@author
Jon S. Stevens
@version $Revision: 564 $