Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BDFCA4762EB for ; Fri, 17 Jan 2003 09:55:35 -0500 (EST) Received: from web20802.mail.yahoo.com (web20802.mail.yahoo.com [216.136.226.191]) by postgresql.org (Postfix) with SMTP id 0EC674762E1 for ; Fri, 17 Jan 2003 09:55:35 -0500 (EST) Message-ID: <20030117145538.16102.qmail@web20802.mail.yahoo.com> Received: from [208.13.35.65] by web20802.mail.yahoo.com via HTTP; Fri, 17 Jan 2003 06:55:38 PST Date: Fri, 17 Jan 2003 06:55:38 -0800 (PST) From: Jeff Eckermann Subject: Re: About rules on views and M$ Access To: Davide Romanini , pgsql-odbc@postgresql.org In-Reply-To: <3E28114D.4050203@libero.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/70 X-Sequence-Number: 2569 --- Davide Romanini wrote: (snipped) > But it simply doesn't find any row with > "CostoEffettivo"='1.44232004547119' and this is > probably due to internal > handling of double precision numbers, I don't know > exactly why. The > query successes if I cast the column > "CostoEffettivo" as text. > Remember anyway that I can't change the queries the > Access sends to ODBC! > Not quite true: you could always use unbound forms etc, though that lets you in for a lot of extra work ;-) Your queries suggest that "CostoEffettivo" is a display field, i.e. it is not used in computations and will not be updated directly. If so, try casting it to text in your view definition, and have it displayed as text in your form. At least the value should agree that way, so your updates would succeed. As for controlling the way Access composes its SQL: I don't know whether that is possible, perhaps you could post the question to an Access NG/List. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com