void 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.


{
    // your code
    dbf->getRecord(5);
    // your code
    dbf->resetLastRecord();
    dbf->getRecord(5);
}