Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id DC2A62E004F for ; Fri, 21 Mar 2008 08:49:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 04382-02 for ; Fri, 21 Mar 2008 08:49:49 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id E02A62E004E for ; Fri, 21 Mar 2008 08:49:48 -0300 (ADT) Received: (qmail invoked by alias); 21 Mar 2008 11:49:46 -0000 Received: from i3ED6D8F2.versanet.de (EHLO [192.168.0.112]) [62.214.216.242] by mail.gmx.net (mp029) with SMTP; 21 Mar 2008 12:49:46 +0100 X-Authenticated: #14269776 X-Provags-ID: V01U2FsdGVkX1+Gw6MYAfqGL8RhHiWRlX0nWpyfFDQBnOZlbcWY8+ oUgCTSixvmrAOE Message-ID: <47E3A0DA.1050002@gmx.net> Date: Fri, 21 Mar 2008 12:49:46 +0100 From: Andreas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8.1.12) Gecko/20080201 SeaMonkey/1.1.8 MIME-Version: 1.0 To: Richard Broersma CC: pgsql-odbc@postgresql.org Subject: Re: Access complains : Update or CancelUpdate without AddNew or Edit References: <47E29CE7.2040103@gmx.net> <396486430803202208k656417b4jd917034c320b09e6@mail.gmail.com> In-Reply-To: <396486430803202208k656417b4jd917034c320b09e6@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/25 X-Sequence-Number: 9441 Richard Broersma schrieb: > On Thu, Mar 20, 2008 at 10:20 AM, Andreas > wrote: > > > ... event before update caused an error: > Update or CancelUpdate without AddNew or Edit > > > This sounds more like a MS-Access Visual Basic Coding problem. Any > ODBC related error messages are really PostgreSQL error messages that > are relayed to you. What you are describing here doesn't sound any > thing like and ODBC or PostgreSQL error. I think it's an Access issue, too, but one that is ODBC related as I never had this problem without ODBC. I don't say it is a pgsqlODBC specific error. I hoped someone here ran into it before and knows a tweak for psqlODBC, Access or anything to improve this thing. It's not a VBA coding issue, since the whole data update is done by Access and the form that is bound to linked in tables. No ADO-, DAO recordset stuff within my code here. This form actually has a "before Update" procedure but it just inserts the current User-ID when the form was changed. This happens everytime an update occurs and works perfectly next to everytime it is called. Regards Andreas