Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy .dbf & .cdx files
Message
De
06/11/2002 15:19:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00719529
Message ID:
00719535
Vues:
15
>Hi,
>
>When you have to make a local copy of a set ot tables for any user using your application, how do you do it?
>Say I have a set of tables & their index files at a Central location, and I need to copy them to the users folder, when he logs on.
>
>the program uses the Copy file command now and the users sometimes get a 'Structural .cdx file is not found' error. It does not happen always.
>
>Thanks
>
>Ria

When you index on ?? tag ?? it creates a link between the .dbf and .cdx files. When you use the .dbf file it will try to restore the link to the .cdx file. If the .cdx file is not where foxpro expects it to be foxpro gives you the option to break the link. If you copy the .cdx file to the same folder as the .dbf you shouldn't get the error.

Why do you need to copy the files to the users folder? Just asking because it doesn't seem very conventional.

Aloha,

James
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform