Recent

Author Topic: Legal Delimiters to use in Property "HostName" of TSQLConnector  (Read 515 times)

Zvoni

  • Full Member
  • ***
  • Posts: 197
Hi Folks,

quick question: What are the legal Delimiters to use in HostName of a TSQLConnector, if i have to specify a Port?

The classic way: MyConn.HostName:='192.168.10.10:3900';?
Or something else?
I think i saw on the Forum here the use of the Forward-Slash
MyConn.HostName:='192.168.10.10/3900';

Oh, and no: Don't tell me to use the specific connection-class because i can't since the DB-Type is determined during RunTime.
One System to rule them all, One IDE to find them,
One Code to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
People call me crazy, because i'm jumping out of perfectly fine aircrafts