From: Marc Soleda <msoleda2001@yahoo.es>
To: pgsql-odbc@postgresql.org
Subject: VC++/MFC CRecordset problem
Date: Wed, 13 Apr 2005 11:21:34 +0200 (CEST)
Message-ID: <20050413092134.74827.qmail@web26506.mail.ukl.yahoo.com> (raw)
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
---------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: msoleda2001@yahoo.es
Subject: Re: VC++/MFC CRecordset problem
In-Reply-To: <20050413092134.74827.qmail@web26506.mail.ukl.yahoo.com>
References: <20050413092134.74827.qmail@web26506.mail.ukl.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox