Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

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

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group