Databases - Delphi/KADao
Stepping Thru Records

This should be much easier.

The standard Delphi help (and most other languages) use First, Next, and EOF (End of File) to step through all the records in a dataset.

Unfortunately, EOF does not appear to work with KADao.


Example

This is generic code to just walk through the records matching some criteria. The following typical procedure does not work since eof always returns false. This code works


Related Info

For more info on FindFirst, Find_First, and related query type commands, see KA Dao Queries.


Author: Robert Clemenzi - clemenzi@cpcug.org
URL: http:// cpcug.org / user / clemenzi / technical / Databases / Delphi / KADao / SteppingThruRecords.html