I am new to VFP5 but have created a couple of apps in VFP3. I have a top level form with a couple other forms that have a ShowWindow of command buttons on it. When I run the program in the directory structure where it was developed it works great. When I move it to another directory the top form comes up nicely but when a pick any of the buttons that call subsequent forms I get the following program error:
Error loading file - record number 6. Form1
Loading form or the data environment " Index does not match the table. Delete the index file and re-create the index.
The index files are CDX's and as I said work fine in the original directory. I run the program, bring up all the forms, do all the searches, edit records, all without incident. I rebuild the exe and move it into the new directory. I copy the dbf and cdx files to the new directory (the dbc is included in the exe) and when I execute it the error appears again. What am I doing wrong?
Jim Philippi
quando omni flunkus moritati