pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1010735 ] Error on method Fields using client side recordset
Date: Mon, 30 Nov 2009 14:58:37 +0000 (UTC)
Message-ID: <20091130145837.86A1B1072083@pgfoundry.org> (raw)

Bugs item #1010735, was opened at 30/11/2009 15:54
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010735&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Gregory Fernandez (lgringo)
Assigned to: Nobody (None)
Summary: Error on method Fields using client side recordset

Initial Comment:
Hi,

I got "Multiple-step operation generated errors. Check each status value." when I try to assign a field, using a recordset with client side property set.

Visual Basic code :
01 Dim cx As New  ADODB.Connection
02 Set cx = ADODB.Connection
03 cx.Open "Driver={PostgreSQL Unicode};Server=127.0.0.1;Database=mydb;UID=XXX;PWD=XXX;"
04 Dim rds As new ADODB.Recordset
05 rds.CursorLocation = adUseClient
06 rds.Open "SELECT * FROM bug", cx, adOpenDynamic, adLockOptimistic
07 rds.AddNew
08 rds.Fields("id") = 1
09 rds.Fields("texte") = "texte"
10 rds.Update
11 rds.Close
12 cx.Close

Version 8.03.04.00 works fine.
Version 8.04.01.00 gives the error ("Multiple-step operation generated errors ...").

Server used : PostgreSQL 8.3.8



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

Comment By: Gregory Fernandez (lgringo)
Date: 30/11/2009 15:58

Message:
NB: Removing line 05 solves my problem for this test but my
main application needs adUseClient.

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

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010735&group_id=1000125



view thread (5+ messages)  latest in thread

Message-ID: <20091130145837.86A1B1072083@pgfoundry.org>
Permalink:  ../20091130145837.86A1B1072083@pgfoundry.org/
Also on:    postgresql.org/message-id/20091130145837.86A1B1072083@pgfoundry.org

 · 

reply

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: noreply@pgfoundry.org
  Subject: Re: [ psqlodbc-Bugs-1010735 ] Error on method Fields using client side recordset
  In-Reply-To: <20091130145837.86A1B1072083@pgfoundry.org>
  References: <20091130145837.86A1B1072083@pgfoundry.org>

* 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