General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only