Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rebuilding structural index problem
Message
De
03/10/2007 17:05:27
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
03/10/2007 16:46:59
Vernon Chambers
New York City Transit
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01258346
Message ID:
01258350
Vues:
16
>By the way, the error occurs when I 'physically' delete the CDX before the program runs. I want it to regenerate regardless if it's there or not
>
>Sorry, forgot to mention ... *smile*

You need to reset the zeroeth bit of the 28th byte of the header of the .dbf - a zero there means "this table has no cdx and don't look for one when you open it". It can be done using fopen(), fseek(), fwrite(), fclose().

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform