VC++/MFC CRecordset problem

From: Marc Soleda <msoleda2001(at)yahoo(dot)es>
To: pgsql-odbc(at)postgresql(dot)org
Subject: VC++/MFC CRecordset problem
Date: 2005-04-13 09:21:34
Message-ID: 20050413092134.74827.qmail@web26506.mail.ukl.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

hi all,
I'm developing an application in WinXP/Visual C++/MFC and accessing a PostgreSQL 8.0.1. All works fine (open the db, SELECT, ...) but the db returns an exception if I try to insert a row using CRecordset. When I add the new row calling CRecordset::Update(), Postgres returns the exception:
"Only SQL_POSITION/REFRESH is supported for PGAPI_SetPos"

The ODBC driver version is 8.00.01.01. Any idea?

thanks in advance,
Marc


---------------------------------

Browse pgsql-odbc by date

  From Date Subject
Next Message Jerry Lam 2005-04-13 15:09:38 Re: How can I configure the postgresql odbc to return 1 row at a time?
Previous Message 江文 2005-04-13 03:26:36 Re: PSQLODBC.DLL unhandled exception