How can I establish whether or not I'm sitting on the last record in a TDataSet (TTable or TQuery).
I'm looking at stepping through the entries in a result set (using a 'First' then 'while not EOF' idea) and doing a particular task with the last record - how do I know when I've hit this last record ?
I'm assuming it's something simple that I'm missing.
Any help would be appreciated.
Steve
I'm looking at stepping through the entries in a result set (using a 'First' then 'while not EOF' idea) and doing a particular task with the last record - how do I know when I've hit this last record ?
I'm assuming it's something simple that I'm missing.
Any help would be appreciated.
Steve