Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rebuilding structural index problem
Message
From
03/10/2007 17:09:57
 
 
To
03/10/2007 17:05:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01258346
Message ID:
01258352
Views:
17
>>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().

Thank you very much! Are you suggesting replace the zero with a blank?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform