Hello,
I try to connect with Powerbuilder 2022 x64 with ODBC to PostgreSQL x64
For 32bits I use the code
ls_dbparm = "ConnectString='Driver=PostgreSQL Unicode;"
ls_dbparm += lnv_ini.of_getconnect_database( )
ls_dbparm += lnv_ini.of_getconnect_server( )
ls_dbparm += lnv_ini.of_getconnect_poort( )
ls_dbparm += lnv_ini.of_getconnect_user( )
ls_dbparm += lnv_ini.of_getconnect_wachtwoord( )
ls_dbparm += "TextAsLongVarchar=1;BoolsAsChar=1;MaxVarcharSize=255;MaxLongVarcharSize=8190;ReadOnly=0;SSLmode=disable;UseServerSidePrepare=0;LFConversion=1;UpdatableCursors=1;XaOpt=1"
this doesn't work with ODBC x64, so I changed it to
ls_dbparm = "ConnectString='Driver=PostgreSQL Unicode(x64);"
but I got the same result.
Tried several other ways but got still the same result, it ask for a datasoure
Does anybody have a idea how to do this.
greetings,
Steven