Hello,
I'm new to PostgreSQL and am converting from MySQL, using VB6. I ussually do something like this to read the id of the new record.
Rec.CursorLocation = adUseClient
sql = "Select * From MyTbl"
Rec.Open Sql, GCon, adOpenForwardOnly, adLockOptimistic
rec!addnew
rec!whatever =...