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 D93E4329D28 for ; Thu, 23 Sep 2004 20:40:47 +0100 (BST) 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 55008-08 for ; Thu, 23 Sep 2004 19:40:36 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id 6C2AE329C83 for ; Thu, 23 Sep 2004 20:40:34 +0100 (BST) Received: from jedi.behrens.de (p508CCF94.dip0.t-ipconnect.de [80.140.207.148]) by Mail2.KONTENT.De (Postfix) with ESMTP id B220F38800F for ; Thu, 23 Sep 2004 21:40:30 +0200 (CEST) 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 i8NL9vJ18090 for ; Thu, 23 Sep 2004 23:10:05 +0200 Message-Id: <200409232110.i8NL9vJ18090@jedi.behrens.de> From: "Lothar Behrens" To: pgsql-odbc@postgresql.org Date: Thu, 23 Sep 2004 21:40:23 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Subject: ODBC SQLSetPos Delete problem X-mailer: Pegasus Mail for Win32 (v3.01b) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/55 X-Sequence-Number: 4430 Hi, just another 'another' question :-) How do I reopen a new statement with the possible cursor position near a deleted row ? This possibliy would avoid the crash. Another way to avoid this crash is a 'fake' deletion of the selected row - based on the primary key of the table. Idea: For simple tables, collect their pk's (names) and store it in a pk table. Then on each 'deletion' mark only a - possibly prior altered table (deleted (true/false)) - field and modify the where clause for the intented query. Any suggestions ? 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 :-)