There are several reasons why it happens. This article on my web site should give you some ideas.
http://www.craigberntson.com/Articles/kb005.htm>FoxPro is no Oracle.
>
>:)
>
>We've got a large app, cosntantly appending records to a table (a large table).
>
>On occasion, not often, the records will be appended to the DBF but the CDX will not get updated with the approp. tag records. THUS, the app cannot find the records that do exist (but the index tags are missing).
>
>WE CAN Fix this with Pack/Reindex of the tables, but just wondering WHY this happens? We are running VFP5 for this particular app and have a mixture of win95/win98/win2000 clients accessing this DB.
>
>WHATCHUALL THINK?
>THANKY'ALL. Pease don't tell us to convert to oracle ;)
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer