This error is returned under two circumstances: actual seek failed or an attempt was made to seek beyond the end of the file in a function intending to read after seek. You should verify the record number (for either data, index, or memo files) being requested is legitimate.