Board index » delphi » Getting the Server Name

Getting the Server Name

Hi,
 (Sorry for such a basic question) but can someone tell me what command to
use in delphi 5 Pro to return the name of the server you are connected to?

Thanks ...
Geoff

 

Re:Getting the Server Name


You will have to decompose the databasename from the TIBDatabase component.
There is a DecomposeDatabase routine in the IBDatabaseEdit.pas in the property
editors directory.  I'm adding it to the IBUtils for D7 since this is a regular
question.

Quote
Geoff Rees wrote:

> Hi,
>  (Sorry for such a basic question) but can someone tell me what command to
> use in delphi 5 Pro to return the name of the server you are connected to?

> Thanks ...
> Geoff

--
Jeff Overcash (TeamB)
      (Please do not email me directly unless  asked. Thank You)
This sad little lizard told me that he was a brontosaurus on his mother's
side.  I did not laugh; people who boast of ancestry often have little else
to sustain them.  Humoring them costs nothing and adds to happiness in
a world in which happiness is in short supply.   (RAH)

Other Threads