Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Erasing cdx and recreating indexes within a program
Message
De
10/01/2001 17:02:49
 
 
À
10/01/2001 14:16:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00461817
Message ID:
00461954
Vues:
21
Be careful just deleting the tags. Any persisitant relations saved in the DBC will also be deleted. Take a look at Stonefield Data Tools. It has a routine that will handle all this for you ... and a whole lot more.


>When I erase a cdx file and try to recreate the index, I get the error message "structural .cdx not found" when I open the table and a dialog box comes up with "Cancel ...".
>
>I would like to suppress that error message and have the table open without any user intervention and then recreate the indexes through code. This would be triggered in an error routine for error 114 - Corrupted Index Error.
>
>One thought was to make a copy of the table, erase the original table and index and then rename the table and run the code to create the index. However there must be a better solution than that.
>
>Any help would be appreciated.
>
>Gaylen
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform