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 706FC3A42F8 for ; Tue, 9 Nov 2004 07:16:14 +0000 (GMT) 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 95851-05 for ; Tue, 9 Nov 2004 07:16:09 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id 57F0B3A42C6 for ; Tue, 9 Nov 2004 07:16:09 +0000 (GMT) Received: from jedi.behrens.de (p508CCB55.dip0.t-ipconnect.de [80.140.203.85]) by Mail2.KONTENT.De (Postfix) with ESMTP id E611238805B for ; Tue, 9 Nov 2004 08:16:06 +0100 (CET) Received: from anakin (anakin.behrens.de [192.168.150.17]) by jedi.behrens.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with SMTP id iA97G2C04808 for ; Tue, 9 Nov 2004 08:16:05 +0100 Message-Id: <200411090716.iA97G2C04808@jedi.behrens.de> From: "Lothar Behrens" To: pgsql-odbc@postgresql.org Date: Tue, 9 Nov 2004 08:16:02 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Subject: UPDATE ... WHERE CURRENT OF ... problem X-mailer: Pegasus Mail for Win32 (v3.01b) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_DSBL X-Spam-Level: * X-Archive-Number: 200411/15 X-Sequence-Number: 4629 Hi, I tried to avoid the problem when deleting rows with the update statement with current of. This gives me an illegal cursor state. Query and error: update Kunden set deleted =3D 1 where CURRENT OF SQL_CUR00F110E0 SQLExecDirect(). [Microsoft][ODBC Driver Manager] Invalid cursor state, SQLSTATE =3D24000 I have tried also this: 'SQL_CUR00F110E0' in the query. Am I missing something ? Thanks Lothar ---- My home: www.lollisoft.de ----------------------------- Lothar Behrens | Independent: lothar.behrens@gmx.de Rosmarinstr 3 | My public project: 40235 D=FCsseldorf | http://sourceforge.net/projects/lbdmf | -> Need comments, please visit :-)