Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index tag is corrupted starts to occur month ago
Message
De
19/08/2013 03:58:43
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/08/2013 03:41:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01580698
Message ID:
01580746
Vues:
55
>Hi,
>
>>Have you tried recreating the indexes as opposed to using REINDEX? REINDEX can leave corruption.
>
>Yes. Following maintenance command is used:
>
>1. Copy table contents to temporary dbf file.
>2. Use create table command which I posted to create new table.
>3. Convert created table to fox 2 format using copy to .. fox2x
>4. Add customer-specific columns from data dictionay table (if exist)
>5. Append data from temporary file created in p.1.
>6. Clear code page in dbf header using MS cpzero
>7. Run index command which I posted.

You can create a temp dbc and then in step 1 "copy ... to {tablename} database {temp dbc}", so step 3 becomes unnecessary and you don't lose long field names.

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