Code: Select all
oPgStatement := DacSqlStatement(oSession):FromChar(cStatement)
oPgStatement:Build():Query(,cAlias)
I am passing a pointer to the DacSession() object.
Also, I use the :Query() method rather than :Execute().
Working with PGDBE has been very difficult.
It is poorly documented. I had to learn thru a lot of hacking.