Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index tag is corrupted starts to occur month ago
Message
From
19/08/2013 03:58:43
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/08/2013 03:41:42
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01580698
Message ID:
01580746
Views:
56
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform