>I havent really been able to pinpoint the exact line that bums rushes to DOS but basically I have a simple PRG and it scans through all the records of a table and tries to find a corrsponding record in the MAster DBF. It goes upto 22 records successfully then rushes out to DOS not error nothing.
>
>Any idea what may be happening I have tried REINDEXing
>
>Thanks for any ideas
Sounds like your table or indexes is corrupted. REINDEX doesn't work properly if table header got corrupted. You'll have to delete all indexes and recreate them from scratch
DELETE TAG ALL
INDEX ON ... TAG ...
...
If it doesnt help open the table and browse it looking for strange characters in the fields. If you see them than your table is corrupted and you will have to restore it from backup.
In rare cases compiled program can get corrupted. Recompile it and try again. I would actually start with this one because it's easiest.
--sb--