Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem finding table if user changes directory
Message
From
02/05/2000 12:02:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/05/2000 11:53:50
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00365128
Message ID:
00365132
Views:
17
>I am having a hard time with what should be an easy task. I an app I wrote, I did not 'hard code' any paths for data. However, when I try to install the app to a 'user defined' directory, I get error messages stating that the table does not exist. It does exist in the user defined directory. The form is looking for it in the directory I created it. For example, I develop in the c:\vfp\dev\ directory and the user installs in the c:\user\program\ directory. Even though the .dbfs exist in this directory the forms are looking for them in the dev directory. HELP!!! Thanks for any help.


Michael,
set path ? What's app's startup dir ?
A config.fpw in the same dir as exe might cure it :

path = data;reports

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform