X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 210BD11F7DC9 for ; Mon, 3 Apr 2006 04:05:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39005-04 for ; Mon, 3 Apr 2006 04:05:26 -0300 (ADT) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id D4D3911F7DC4 for ; Mon, 3 Apr 2006 04:05:25 -0300 (ADT) Received: from geosys.fr (mail.geosys.com [195.115.79.21]) by svr4.postgresql.org (Postfix) with ESMTP id B2C6E5AF8DE for ; Mon, 3 Apr 2006 07:05:25 +0000 (GMT) Received: from [192.168.1.69] tc@geosys.fr [195.115.79.17] by geosys.fr with NetMail SMTP Agent $Revision: 3.16 $ on Microsoft Windows; Mon, 03 Apr 2006 08:09:16 +0100 Message-ID: <4430C930.6040606@geosys.fr> Date: Mon, 03 Apr 2006 09:05:20 +0200 From: Thomas Chabaud Reply-To: tc@geosys.fr Organization: Geosys User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Cc: pgsql-odbc@postgresql.org Subject: Re: Strange Update query ... References: <442D35FD.2050208@geosys.fr> <004001c6556c$930fc130$580bfea9@hmv02> In-Reply-To: <004001c6556c$930fc130$580bfea9@hmv02> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.214 required=5 tests=[AWL=0.025, MISSING_HEADERS=0.189] X-Spam-Score: 0.214 X-Spam-Level: X-Archive-Number: 200604/7 X-Sequence-Number: 7534 Hélder M. Vieira a écrit : > I tried to replicate the situation you describe, without success. > I guess ADO for some reason is trying to build an SQL statement > corresponding to a parameter query. > I'd bet on a ADO misinterpretation of your intention caused by the > myvalue1, myvalue2 and myvalue3 data types. > Could you post the DIM statements of those variables ? > > > Helder M. Vieira > > > > I have find the bug, it was an error in the code, there was a function before my code which changed the values, and the values I supposed to be new values in the update statement were in fact the old values ... Sorry for the waste of time, and thanks a lot for your explanations. Regards, Thomas