Mike Miller wrote:
>
> First it was ODBC & Transactions; now I've added Large Objects into the
> soup!
>
> I'm using the a modified version of the VB code (POSTGRESQL, LO and VISUAL
> BASIC MINI-HOWTO) by Denis Gasparin found at
> http://odbc.postgresql.org/ftpsite/odbc/pgsql-lo-vb-MiniHowto.txt
>
> When trying to update a table with the code I get the error message :-
>
> Could not begin (in-line) a transaction
>
> *if* I have *already* started a transaction.
You had better use BeginTrans to set autocommit off mode.
It isn't a recommended way to issue "BEGIN" directly.
regards,
Hiroshi Inoue