X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E744153A51 for ; Wed, 13 Apr 2005 06:21:39 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61358-03 for ; Wed, 13 Apr 2005 09:21:35 +0000 (GMT) Received: from web26506.mail.ukl.yahoo.com (web26506.mail.ukl.yahoo.com [217.146.176.43]) by svr1.postgresql.org (Postfix) with SMTP id 70F1853A77 for ; Wed, 13 Apr 2005 06:21:33 -0300 (ADT) Received: (qmail 74829 invoked by uid 60001); 13 Apr 2005 09:21:34 -0000 Message-ID: <20050413092134.74827.qmail@web26506.mail.ukl.yahoo.com> Received: from [80.58.50.173] by web26506.mail.ukl.yahoo.com via HTTP; Wed, 13 Apr 2005 11:21:34 CEST Date: Wed, 13 Apr 2005 11:21:34 +0200 (CEST) From: Marc Soleda Subject: VC++/MFC CRecordset problem To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-665955663-1113384094=:74824" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.45 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, FROM_ENDS_IN_NUMS, HTML_40_50, HTML_IMAGE_ONLY_12, HTML_MESSAGE X-Spam-Level: ** X-Archive-Number: 200504/31 X-Sequence-Number: 5190 --0-665955663-1113384094=:74824 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 --------------------------------- --0-665955663-1113384094=:74824 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
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



Nuevo Correo Yahoo!
--0-665955663-1113384094=:74824--