Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CDX deleted!
Message
De
23/01/2001 11:52:04
 
 
À
22/01/2001 17:36:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00467030
Message ID:
00467382
Vues:
23
Hi Tyler.

>I have a client that got rid of their .cdx file on their computer. It isn't in the recycle bin either. Is there a way to re-create the .cdx?

Do you have a good copy of the table anywhere (eg. a backup at their site, an old copy at your site)? It doesn't matter if it contains old data, as long as the structure hasn't changed from the current one. If so, copy the CDX to the directory where the missing CDX should be, then use REINDEX to put the most current keys into it.

In the future, you might want to consider using Stonefield Database Toolkit (SDT). It makes this kind of repair a snap -- you simply call an SDT method to recreate corrupted or missing indexes. It can be done as part of an error handling routine, from a menu item, or whereever you want to call it.

SDT does a lot more than that -- check out www.stonefield.com for more information and a demo version.

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

Click here to load this message in the networking platform