Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Structural .CDX file is not found !!!
Message
From
23/04/2007 01:38:01
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
22/04/2007 22:29:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01218711
Message ID:
01218772
Views:
19
This message has been marked as the solution to the initial question of the thread.
Hi,
<snip> btw we delete the CDX first and then re create.

That is what is causing the error, try something like the following instead:-
CLEAR
SET status bar on
SET ANSI ON
SET EXACT ON 
SET TALK ON
SET SAFETY OFF 

CLEAR 

USE c:\your_directory\your_table.dbf IN 0 EXCLUSIVE
COPY STRUCTURE TO c:\your_directory\temp.dbf WITH CDX 
USE IN your_table

COPY FILE c:\your_directory\temp.cdx TO c:\your_directory\your_table.cdx

USE c:\your_directory\your_table.dbf IN 0 EXCLUSIVE

REINDEX 

BROWSE 

DELETE FILE c:\your_directory\temp.*

USE IN your_table
>Yes it does.
>btw we delete the CDX first and then re create.
Regards N Mc Donald
Previous
Reply
Map
View

Click here to load this message in the networking platform