Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FoxPro / Setup / May 2004

Tip: Looking for answers? Try searching our database.

Default, Path and Directories

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Craig Farrel - 09 May 2004 17:11 GMT
I have an app. I set the default diretcory and the path.
Default directory is c:\{program installed location
Path is r: (remote drive on server

I placed a copy of one of my db's from the app on my local root c: directory to check for an error in data from one of my clients.  So, now I have a copy in my own c: and in the program dir. Interestingly enough, when I start my app on my local machine, it reads the db in the c: root directory first instead of the copy of the same file in my default directory

I can verify this by place a copy of a db with one set of data in the root and another copy of the same db with different data in the default dir. When accessing this db, it reads the data from BOTH db's and merge's the data it together in the view

Has anybody ever seen this before? Is there any way of preventing Fox from "looking" anywhere except in the Default Dir and the Path Dir

Thanks in advance

Craig
Mark Stanton - 09 May 2004 22:59 GMT
If your app uses form dataenvironments then this is the problem
associated with them.  The path to the database you developed with is
hardcoded in there!

There are various workarounds, it will require some effort of you.

The easiest, is if you move/hide/rename your development database and
put the one you want to look at in the (VFP) path.

The nature of the beast I'm afraid 8-(

Mark Stanton
One small step for mankind...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.