Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Ciprian Zaharia
  Where is Ciprian Zaharia?
 Brossard
 Canada
 Ciprian Zaharia
 Tags
Subject: RE: Dataenvironment
Thread ID: 78653 Message ID: 78750 # Views: 1 # Ratings: 1
Version: Visual FoxPro 9 Category: Forms
Date: Friday, October 07, 2005 4:10:21 PM         
   


> HI
>
> 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.

Ken

ENTIRE THREAD

Dataenvironment Posted by Ciprian Zaharia @ 10/6/2005 3:54:37 PM
RE: Dataenvironment Posted by Marlon Levy @ 10/6/2005 5:10:13 PM
RE: Dataenvironment Posted by Ciprian Zaharia @ 10/6/2005 5:26:19 PM
RE: Dataenvironment Posted by Ken Murphy @ 10/7/2005 4:10:21 PM