Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE can't find the data
Message
 
 
To
15/02/1999 10:27:05
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00187680
Message ID:
00187728
Views:
17
>Hi,
>
>I have a problem with my EXE-File. When I start the EXE it opens the data in my developer directory, although the EXE is in an different path. If I rename this directory the Application does not run.
>In my config.fpw the path entry is set correct to the data directory where the EXE is and in my code there is no path set to other directories. What can I do, that Fox take the right data?
>
>Karsten

The problem is likely because the form designer includes the path to the database for each table in your DE. I usually open each form as a table and look for the database name in the PROPERTIES field. You will see something like: Database = data\mydatabase.dbc. After you make up of all your forms (.SCX and .SCT), you could use the strtran() function to remove the path part of that property. In my example above, I would issue replace all properties with strtran(properties, "data\", "")
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform