Subject Re: [IBO] Connecting to Remote Host
Author Dmitry Beloshistov
----- Original Message -----
From: "Linda Berry" <lberry@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, December 19, 2001 9:48 PM
Subject: [IBO] Connecting to Remote Host


> I need to get info from the user and then connect to the remote server.
> I hard coded appropriate info and it will not connect to the server.
> Here is what I have:
> fIBDatabase.Connected := FALSE;
> fIBDatabase.Server := '207.51.93.51';

Server name must be as: 'remoteserver', but no '207.51.93.51'... In last
clause you may have big delays in connection process and work with
database.. Please check your DNS settings too...

You ONLY need (in TCP/IP protocol) set as:
IB_Database.Database:='remoteserver:C:\Program Files\Borland
shared\Data\employee.gdb';

And you may turn IB_Database.LoginPrompt property to TRUE for enter UserName
and password... (UserName now are not defined too ;) or set
IB_Database.UserName='SYSDBA'.

WBR, Dmitry Beloshistov AKA [-=BDS=-]
e-mail: torin@...