Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Network instalation of databases and tables
Message
De
08/07/1998 11:05:32
 
 
À
08/07/1998 00:27:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115147
Message ID:
00115296
Vues:
12
>I´ve just finished the development process of a program. all the forms have the necesary tables included in the data environment. The main program sets path to the data directory where physical files are copied.
>
>The data files (and corresponding index, memo files, etc) are copied in a shared disk in a given computer.
>
>But, when I install the program in another computer, and set the data path to "\\Computer1\c\datadir" wich is the directory for the data files, the program does not run. There is an error message "Error loading form or the data environment. Index does not match, delete index file and re create indexes"
>
>But running the program from computer1 (the one that has the data files in it´s disk), the program works just fine.
>
>What´s happening?
>Any ideas?

The problem is that VFP includes the original path in the Data Environment, so everybody goes to C:\DATADIR, so a solution might be editing the SCX files by hand and removing these paths. Another solution could be working on a mapped drive (say, Q:); you should SUBST Q: on your machine, and every other user should map Q: to your PC.

HTH!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform