Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible DBF Corruption
Message
De
21/05/2001 09:25:33
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Possible DBF Corruption
Divers
Thread ID:
00509410
Message ID:
00509410
Vues:
62
I have a VFP 6 database that has been in use for 5 years. The application has worked fine until recently. The main table no longer allows new records to be added. Previous records can be modified, though. If I try to add a record, the form moves to the first record in the table and prevents me from displaying every other record. Exiting the application and reopening it will still only display the first record. Upon investigation, I noticed that if I open the main table in design mode and then sort on the primary index, a message is returned that the index is corrupted. After rebuilding the index, I can now browse the entire table and update existing records, but each time I try to add a new record, it corrupts the index and I am forced to rebuild it. The main table has 8530 records and the CDX file is 290 KB. I also noticed that if I open the table for read-only in Notepad, it looks like the new records are at the end of the file, even though they don't display when I browse the table. The application also use optimistic buffering.

Any thoughts?
Ryan Hirschey
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform