Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id AD5B02E0075 for ; Fri, 21 Mar 2008 02:14:32 -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 98682-07-2 for ; Fri, 21 Mar 2008 02:12:27 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by postgresql.org (Postfix) with ESMTP id 01A822E0060 for ; Fri, 21 Mar 2008 02:08:54 -0300 (ADT) Received: by wf-out-1314.google.com with SMTP id 28so1251143wff.28 for ; Thu, 20 Mar 2008 22:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=mxJe5vc8grmpkziSUJeDS/cQGeY4Oc6BGCUfo2Ttg6k=; b=aDsxpXnOJaKhBEyL8cZAtrfhuRsXrAVImPHIWQUfm6ccm0VaN6nF+iGC5U/CGrS1NtHUij40VHT5FFlHrin/Rx4DxjPMM3vD7HVMsct8gZofprLX1iA/0C8NkyViDja6rakMC9wdEcVODnzCGvRMugduX4H+OD7MZP1uiM2FnTY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RDz+IbRS8xjkfGv906KKXpik24ED29tbUEncxtR71UVz+e3slro5TADgvdXWIYT/dneRtUdwQn36SjkKKsXR/fEEpCsuspE1LspY6UGh/5pGq1ML0o3QJHz7YsrqcWfiyJg21QhcXiG9vfKmxfKHYGq+k3eyTuIqHd6+nPOA22U= Received: by 10.142.188.4 with SMTP id l4mr2058957wff.183.1206076133684; Thu, 20 Mar 2008 22:08:53 -0700 (PDT) Received: by 10.142.144.1 with HTTP; Thu, 20 Mar 2008 22:08:53 -0700 (PDT) Message-ID: <396486430803202208k656417b4jd917034c320b09e6@mail.gmail.com> Date: Thu, 20 Mar 2008 22:08:53 -0700 From: "Richard Broersma" To: Andreas Subject: Re: Access complains : Update or CancelUpdate without AddNew or Edit Cc: pgsql-odbc@postgresql.org In-Reply-To: <47E29CE7.2040103@gmx.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5212_28795547.1206076133660" References: <47E29CE7.2040103@gmx.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/24 X-Sequence-Number: 9440 ------=_Part_5212_28795547.1206076133660 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. They say they dont do anything special. Just clicking a checkbox or > trying to jump to the next record would do to trigger the error. > Later the same action won't cause any trouble, so I can't crack this in > debug-mode. Here on my box it always works as expected. > How are you binding the form to the user controls? Are you linking from linked tables, linked DAO recordsets, or linked ADO recordsets? Could someone here give a hint? > I would start by looking for code in the form that might be calling the form's recordset UPDATE or CancelUpdate method. Also, if this is a access problem, I would check out this site for further information: www.utteraccess.com Regards, Richard Broersma Jr. ------=_Part_5212_28795547.1206076133660 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Mar 20, 2008 at 10:20 AM, Andreas <maps.on@gmx.net> 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.

They say they dont do anything special. Just clicking a checkbox or
trying to jump to the next record would do to trigger the error.
Later the same action won't cause any trouble, so I can't crack this in
debug-mode. Here on my box it always works as expected.
 
How are you binding the form to the user controls?  Are you linking from linked tables, linked DAO recordsets, or linked ADO recordsets?

Could someone here give a hint?


I would start by looking for code in the form that might be calling the form's recordset UPDATE or CancelUpdate method. 

Also,  if this is a access problem, I would check out this site for further information:  www.utteraccess.com

Regards,
Richard Broersma Jr.
------=_Part_5212_28795547.1206076133660--