Delphi and AS400 relative record number

Hello;

Is there any way to retrieve the relative record number from an AS400
table, I am using an ODBC driver to connect but I can't find a way to do
it.

Thanks in Advance.