General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>Is there any way to insure that when you setup a form with it's data environment that it will use a relative database location like:
> data\customer.dbf
>instead of:
> f:\progs\invmangr\source\data\customer.dbf
What I've found is to always build the EXE in the directory with the correct relative path to your data that you're distributing.
Do you _always_ build your application's forms in the parent directory for the data\ directory?
Also, under 5.0 I had an application "framework" in one directory that I used to spawn clones, who's data would, of course, be in a different directory. I made sure that I built the EXE in the clone's directory. I don't know if this relates to your situation, of course.
Another idea is to simply make it part of your process that you fill in the dataenvironment with the correct path before opening tables.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only