Subject Re: [IBO] "Unavailable database"?
Author ra8009
> Could you please paste the entire code for the procedure where you
do this,
> including the full handler declaration with arguments?
>
> Helen

Below is the code that attempts to open the connection and the ini
file contects. LoginUser and LoginPassword are currently equal to
SYSDBA and masterkey.

With ApptConnection do
begin
Disconnect;
Database := IniFile.readString('MAIN','AppDatabasePath','');
Server := IniFile.readString('MAIN','Server','');
UserName := LoginUser;
Password := LoginPassword;
try
Connect;

Here's the ini file:

[MAIN]
AppDatabasePath = 'C:\customers\customers.fdb'
Server = 'mainserver'