Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with Corrupted CDX file
Message
De
16/09/1999 00:57:11
 
 
À
14/09/1999 09:25:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00264340
Message ID:
00265343
Vues:
25
>>I have a table with a corrupted CDX file. If I try to USE the table, it won't open because it needs the CDX file. Is there a way to open a table without its automatic CDX file, so I can reconstruct the indexes?
>
>
>David, the process that works best for me to recover from corruption is to keep a good copy of all the tables with CDX files but no records. If I get corruption I follow this procedure:
>
>1) Copy the corrupted table and its DBC to a SAVE directory.
>2) Copy the good empty table with its CDX and FPT files to the working directory.
>3) USE the good table and verify that it has no records.
>4) APPEND from the the corrupted table.
>
>Peter Robinson

Thanks Peter, this worked - as I'm sure would the other suggestions. In fact I found that if an empty CDX file is copied over the corrupted one, the DBF can be 'USED' and then I can reconstruct it or issue REINDEX. But it does mean keeping those empty files!

David
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform