12.01.2021, 06:06, "Michael Van Canneyt via fpc-pascal" 
<[email protected]>:
> On Mon, 11 Jan 2021, Virgo Pärna via fpc-pascal wrote:
>
>>  On Fri, 08 Jan 2021 14:25:09 -0300, Luis - SoftSAT Sistemas via fpc-pascal 
>> <[email protected]> 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;
>
> Port is normally handled using the Params property, so
>
> Params.Values['port']:='1234'
>
> should do.
>
> Michael.
> ,
>
> _______________________________________________
> fpc-pascal maillist - [email protected]
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Thanks Virgo and Michael both ways work!
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to