[Lazarus] TMSSQLConnection how to specify the server port?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Dec 27 15:07:11 CET 2017


On 2017-12-27 13:53, Mattias Gaertner via Lazarus wrote:
> Have you tried HostName:='hostname:port' ?

Correct - as per the documentation.  ;-)

 
https://www.freepascal.org/docs-html/fcl/mssqlconn/tmssqlconnection.hostname.html


Regards,
   Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the Lazarus mailing list