Off the cuff, you could read the file into a var and add one char to the header. That would give you a corrupt file. You could do the same to the cdx and fpt files and you would experience errors there too.
lcfile=filetostr('myfile.dbf')
strtofile(chr(32)+lcfile,'myfile.dbf')
Then open the dbf, you will get an error.
John
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright