Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1707 - Structural .CDX file is not found
Message
From
20/10/1998 20:27:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00148362
Message ID:
00148725
Views:
25
>When I USE a .DBF (interactively) and the associated CDX file does not exist, I have the option to ignore the error and the .CDX is no longer required.
>
>How do I do this in code?
>If I get an error 1707, I can trap it, but big deal, the .DBF still doesn't end up open...
>
>I thought that maybe SET SAFETY OFF would allow code to open a DBF w/o its matching CDX but no luck.
>
>
>What am I missing?
>
>Thanx!

Actually, you can open it. The first time your USE MyTable, the reference to the CDX will be removed. Then USE MyTable on the next line and it will open.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform