Hi,
When you delete a record, you do so by marking it with the delete flag in the file. So when you read a record,
you should read first its flag and see if it is the valid flag or the deleted flag.
If the file pointer is beyond the end of the file, for example recNo = 100, of course the record is missing.
My original dbFile doesn't have deleted records, but you need to implement the behavior.
Regards,
[ May 08, 2007: Message edited by: Romeo Son ]