Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stuctural cdx or idx not found
Message
From
29/09/1998 05:29:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/09/1998 02:35:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00141779
Message ID:
00141806
Views:
26
>i want to ignore this message
> "stuctural cdx or idx not found"
> programatically
Then you should open the table lowlevel first and remove CDX reference.
handle=fopen("mytable.dbf",12)
=fseek(handle,28)
lnPokeByte = bitand(fread(handle,1),0xFE) && Remove CDX flag
=fseek(handle,28)
=fwrite(handle,lnPokeByte,1)
=fclose(handle)
Of course you should also check if you can have the handle and why not too.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform