X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6EF93474E53 for ; Sun, 23 Mar 2003 16:02:59 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id DEA34474E44 for ; Sun, 23 Mar 2003 16:02:58 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2NL1Zub002039; Sun, 23 Mar 2003 16:01:35 -0500 (EST) To: "Fred Parkinson" Cc: jkherr@centurytel.net, pgsql-odbc@postgresql.org Subject: Re: psql dates in Access In-reply-to: References: Comments: In-reply-to "Fred Parkinson" message dated "Sun, 23 Mar 2003 12:50:16 -0800" Date: Sun, 23 Mar 2003 16:01:35 -0500 Message-ID: <2038.1048453295@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-24.8 required=5.0 tests=EMAIL_ATTRIBUTION,HTML_00_10,HTML_MESSAGE,IN_REP_TO, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50-cvs X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50-cvs (1.172-2003-02-14-exp) X-Archive-Number: 200303/60 X-Sequence-Number: 2779 "Fred Parkinson" writes: > When I manually enter the desired dates into the query before saving,=20 > then
> running, it works. When I try any of the above ways to referen= > ce a=20 > date
> from a form, the query results are always empty.
>
&g= > t;=20 [please turn off MIME encoding in list mail...] It seems likely to me that the query arriving at the backend is not what you think it is. I'd suggest turning on query logging (see postgresql.conf) so that you can see what's really being issued. IIRC, there are also logging provisions in the ODBC driver, which would give you an additional view of what's happening. regards, tom lane