Subject | Re: [IBO] "Unavailable database"? |
---|---|
Author | Helen Borrie |
Post date | 2005-09-27T04:51:34Z |
Would you care to re-read what I asked you for?
HB
At 03:41 AM 27/09/2005 +0000, you wrote:
HB
At 03:41 AM 27/09/2005 +0000, you wrote:
> > 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'
>
>
>
>
>
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>Yahoo! Groups Links
>
>
>
>