>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement