[fpc-pascal] SQLDB: Set port in TSQLConnector

Virgo Pärna virgo.parna at mail.ee
Mon Jan 11 10:08:59 CET 2021


On Fri, 08 Jan 2021 14:25:09 -0300, Luis - SoftSAT Sistemas via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> I'm trying to connect to a Firebird database with TSQLConnector, but I can't 
> seem to find a way to set the port number.
>
> Looking at TIBConnection, there is a port property, but none in TSQLConnector.

	You can use 
HostName := ServerName/Port;

-- 
Virgo Pärna 
virgo.parna at mail.ee



More information about the fpc-pascal mailing list