relative path
relative path
Hi,
Is it possible to connect to my db using relative path ?
I have my folders like that:
/folder1/folder2/DB/
/folder1/folder2/project folder/
I tried of course to use ../DB/db.gdb but I got IO error
Thanks
Is it possible to connect to my db using relative path ?
I have my folders like that:
/folder1/folder2/DB/
/folder1/folder2/project folder/
I tried of course to use ../DB/db.gdb but I got IO error
Thanks
-
- Posts: 15
- Joined: Thu 18 Nov 2010 11:32
Hi,
think it's not much efforts to create the full path to the db before connecting.
I also used that solution in the past, but it has several drawbacks:
- no design time support
- no support for the build configurations (Debug, Release, ..), unless you also copy your db to the corresponding folders
- no flexibility in case of changes in the db file name (i.e. in case of name conflicts)
So I use aliases now, just drop one line in the aliases.conf file:
mydb = full_path_to_mydb
BR,
Martin
think it's not much efforts to create the full path to the db before connecting.
I also used that solution in the past, but it has several drawbacks:
- no design time support
- no support for the build configurations (Debug, Release, ..), unless you also copy your db to the corresponding folders
- no flexibility in case of changes in the db file name (i.e. in case of name conflicts)
So I use aliases now, just drop one line in the aliases.conf file:
mydb = full_path_to_mydb
BR,
Martin