Subject | IBODatabase DatabaseName Alias Problem |
---|---|
Author | rod@myiafrica.com |
Post date | 2001-10-17T09:43:46Z |
Hi
when I set the (tIBODatabase) DatabaseName property
= //server\c:\ibserver\salessql\sales.gdb
I connect fine.
When I set the propery to its alias name = sales.gdb and I try to
connect, I get error 'unavailiable database'. This is the alias name
if I look at the database under IBConsole (with the file used showing
underneath (as used above).
If I cant use an alias name, what should I do when starting an app.
Look at an ini fiel to assign the database path perhaps?
I cant hardcode the path for this app.
Thanks
when I set the (tIBODatabase) DatabaseName property
= //server\c:\ibserver\salessql\sales.gdb
I connect fine.
When I set the propery to its alias name = sales.gdb and I try to
connect, I get error 'unavailiable database'. This is the alias name
if I look at the database under IBConsole (with the file used showing
underneath (as used above).
If I cant use an alias name, what should I do when starting an app.
Look at an ini fiel to assign the database path perhaps?
I cant hardcode the path for this app.
Thanks