Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Structural .CDX file is not found !!!
Message
De
23/04/2007 01:38:01
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01218711
Message ID:
01218772
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform