>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 to get it to work?
Your program should keep real datapath for each client, and reset DE.Cursor.Database/Cursorsource properties in DE.Beforeopentables event.
Edward Pikman
Independent Consultant