Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reset table cdx flag
Message
From
04/08/2000 11:04:24
 
 
To
04/08/2000 10:31:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00400995
Message ID:
00401081
Views:
35
>Actually, I want to delete the cdx file. Then I want to open up its table without seeing the error message that comes up. If the table's cdx flag is reset before opening the table the error will not come up. How to you reset this flag?
>

Delete the CDX file by issuing DELETE TAG ALL. If you insist on commiting seppuku, the structure of the DBF headers is documented in the OnLine help in the Appendix of the Programmer's Reference; you can rewrite the header using low-level file I/O; I don't have code to give you, and strongly recommend using DELETE TAG ALL rather than just erasing the CDX file.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform