>Most applications I write have the DBC and the tables living in the one folder called DATA which lives under the folder I have my executable in.
>
>Is there a piece of code available which I can store in the DBC which will always force the DBC to look for the tables in the same folder it is in no matter where I move that folder.
>
>Many Thanks
I dont see where you problem is or at least I never have see it myself. My directory structure is:
\AppDir\Data Where the data files and DBC are
\AppDir where the exe is
And I Copy files back and forth from my \Data directory to the server where I develop and back again with no problem.
I dont think I am doing anything different than the next developer.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope