From: Ken Murphy
To: Ciprian Zaharia
Visual FoxPro 9
Friday, October 07, 2005 4:10:21 PM
This message was rated by:
# Ratings: 1
> May be someone can help me.I made an foxpro aplication with several forms.
> In every form I'm using in dataenvironment a lot of tables and cursor adapters
> Each of them is referring my database on C: drive.When I tried to move on a network with a diferent letter drive i observed horrified that it searching for
> data on C: drive.There is a global solution for that ?
> Thank you for any advice
> Ciprian Zaharia
There are two other ways to handle this.
1. In a beta test environment, I start by going to my Tools->Options->File Locations and I set up a "Default Directory" The default direcory will contain a "data" directory where I store my database plus other directories for forms, prgs, etc. While beta testing, I simply copy the EXE and Data directory up to the server to a share called "Beta." The only things that exist in that share are the EXE and the Data directory (filled with data.) When the EXE runs, it looks in it's current directory for a data directory, finds it and finds the data.
2. In a production environment, I set up the data directory in the setup procedure. Works like a charm.
Posted by Ciprian Zaharia @ 10/6/2005 3:54:37 PM
Posted by Marlon Levy @ 10/6/2005 5:10:13 PM
Posted by Ciprian Zaharia @ 10/6/2005 5:26:19 PM
Posted by Ken Murphy @ 10/7/2005 4:10:21 PM