[ psqlodbc-Bugs-1010735 ] Error on method Fields using client side recordset
am 30.11.2009 15:58:37 von noreplyBugs item #1010735, was opened at 30/11/2009 15:54
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=10107 35&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=10107 35&group_id=1000125
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc