getting last oid in Visual Basic - Mailing list pgsql-odbc

From iloz@www.recursor.com
Subject getting last oid in Visual Basic
Date
Msg-id Pine.LNX.4.21.0210011605200.10802-100000@www.recursor.com
Whole thread Raw
List pgsql-odbc
Hi!

I have problem with getting the oid of last inserted row in Visual Basic.
If I update a recordset with a new row, and then I execute a query:
"select :LASTOID as loid"
then I get: ERROR:  parser: parse error at or near ":"

May be the driver connects to the server again, and cant't get the oid?

How can I get it with ODBC?

Thanks
Zoltan
__________________________________________________________________________
    Nagy Zoltan         iloz@recursor.hu         Phone: +36-30-2699112


pgsql-odbc by date:

Previous
From: "Diulgheroff, Stefano (AGPS)"
Date:
Subject: psqlODBC 07.02.0003 (Unicode) and MSAccess97
Next
From: "Srilatha"
Date:
Subject: inserting blob field