Moving to a specific row of a query

jpchausseau

Member²
I have a TOracleQuery (select CENTERS.* from CENTERS where CENTERS.id_center=:id_center). This query returns 10 rows. How do I get to row number 5 (or any other) of the query to retrieve values?

Thanks for help.

Jean-Paul.
 
Hello.

To see the 5:th row, do Query.Next four times.
If you want to jump back and forth in a Query, you have to use the dataset component instead.
 
Back
Top