procedure resetLastRecord;

The function resetLastRecord() resets the last read record number.
It forces function getRecord() not to use cached data but read a record from a disc.


begin
    // your code
    dbf.getRecord(5);
    // your code
    dbf.resetLastRecord;
    dbf.getRecord(5);
end;