Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax to break a dbf from it's cdx.
Message
De
12/01/2000 13:03:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00317076
Message ID:
00317106
Vues:
17
>>>I have an unattended reindexing routine. Sometimes it's got a cdx that is FUBAR. how do you breke the connection in the dbf to the cdx?
>>>
>>>I have Stonefield but that is user over ride and thei is really a com server app. I cannot have error conditons which ask for user intervention.
>>>
>>>TIA
>>>
>>>__Stephen
>>
>>
"Delete tag all" or alternatively you could delete the CDX file (when you attempt to "use" it would complain "Structural CDX not found" - ignore).
>>PS:Might be a duplicate message - I got a message from UT interface to resend.
>>Cetin
>
>
>Delte tag all is fine if it opens, but when the cdx is blown, I need to get a low level fix in the dbf header to stop that look for the cdx. Then my reindex routine is fine.
>
>__Stephen


Stephen,
I used the latter CDX file deletion for years w/o a fix in header (which in fact just requries to change the very first byte). Also I tend to prefer creating indexes from scracth (I keep info in a dictionary) rather than a reindex.

-Create a test table with structural CDX.
-Close all
-Go to explorer and delete CDX
-use myTable exclusive
-Ignore message
-Do whatever
-use
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform