unknow driver: DevartPostgreSQL
Posted: Mon 11 Sep 2017 15:46
Hi,
I need to access a sql postgre server database
I put in a form a TsqlConnection component, I fill Its property as:
SQLConnection := TSQLConnection.Create(nil);
SQLConnection.DriverName :='DevartPostgreSQL';
SQLConnection.ConnectionName :='DevartPostgreSQL';
SQLConnection.GetDriverFunc := 'getSQLDriverPostgreSQL';
SQLConnection.LibraryName := 'dbexppgsql40.dll';
SQLConnection.LoginPrompt := False;
SQLConnection.Params.Values['HostName'] := 'localhost:5432';
SQLConnection.Params.Values['Database'] := 'postgres';
SQLConnection.Params.Values['SchemaName'] :='public';
SQLConnection.Params.Values['User_Name'] := 'postgres';
SQLConnection.Params.Values['Password'] := 'password';
when I try to connected it , show the message
unknow driver: DevartPostgreSQL
I installed devart dbx driver for postgre (Trial version)
Can somebody help me?
PS : in the file dbxdrivers.ini there is the row with DevartPostgreSQL=1
I'm using Delphi XE2
thanks.
I need to access a sql postgre server database
I put in a form a TsqlConnection component, I fill Its property as:
SQLConnection := TSQLConnection.Create(nil);
SQLConnection.DriverName :='DevartPostgreSQL';
SQLConnection.ConnectionName :='DevartPostgreSQL';
SQLConnection.GetDriverFunc := 'getSQLDriverPostgreSQL';
SQLConnection.LibraryName := 'dbexppgsql40.dll';
SQLConnection.LoginPrompt := False;
SQLConnection.Params.Values['HostName'] := 'localhost:5432';
SQLConnection.Params.Values['Database'] := 'postgres';
SQLConnection.Params.Values['SchemaName'] :='public';
SQLConnection.Params.Values['User_Name'] := 'postgres';
SQLConnection.Params.Values['Password'] := 'password';
when I try to connected it , show the message
unknow driver: DevartPostgreSQL
I installed devart dbx driver for postgre (Trial version)
Can somebody help me?
PS : in the file dbxdrivers.ini there is the row with DevartPostgreSQL=1
I'm using Delphi XE2
thanks.