X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3BBB1474E53 for ; Sun, 23 Mar 2003 15:50:28 -0500 (EST) Received: from iserver.abag.ca.gov (iserver.abag.ca.gov [198.31.87.3]) by postgresql.org (Postfix) with ESMTP id 7EEE7474E44 for ; Sun, 23 Mar 2003 15:50:27 -0500 (EST) Received: from groupwise.abag.ca.gov (groupwise.abag.ca.gov [198.31.87.26]) by iserver.abag.ca.gov (8.12.4/8.12.4) with SMTP id h2NKoSo3024994 for ; Sun, 23 Mar 2003 12:50:28 -0800 (PST) Received: from D01-Message_Server by groupwise.abag.ca.gov with Novell_GroupWise; Sun, 23 Mar 2003 12:50:28 -0800 Message-Id: X-Mailer: Novell GroupWise Internet Agent 5.5.6.1 Date: Sun, 23 Mar 2003 12:50:16 -0800 From: "Fred Parkinson" To: , Subject: Re: psql dates in Access Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_326D7F04.2C4D2F1A" X-Spam-Status: No, hits=-8.6 required=5.0 tests=EMAIL_ATTRIBUTION,HTML_10_20,HTML_MESSAGE,QUOTED_EMAIL_TEXT 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/59 X-Sequence-Number: 2778 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_326D7F04.2C4D2F1A Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I will look into that, but I seem to recall that when we were setting up th= e databases in postgres a couple of months ago, that if we left the time zo= ne off then access didn't recognize the field as a date/time field Thanks for responding=20 Fred >>> "John K. Herreshoff" 03/23/03 12:44PM >>> Try without time zone; that should work.=20=20 John. On Sunday 23 March 2003 02:51 pm, Fred Parkinson wrote: > in postgres 7.2 > Using the postgres timestamp with timezone, I can't seem to extract recor= ds > using Access and requesting a range of dates, unless the date is hard-cod= ed > into the Access query. > > I want to reference a range of dates that a user has entered on a form. > I have referenced to user-entered dates with and without the date bracket= ed > by "#". In the date range I submit to the query I have referenced the full > time stamp string where I construct the start date as "xx/xx/xx 12:00:00 > AM" and the end date as "xx/xx/xx 12:59:59 PM" (not the same xx/xx/xx > obvioulsy) I have referenced the dates with and without the double quotes. > I have referenced only the left 10 characters of the dates, i.e., the day > part. > > When I manually enter the desired dates into the query before saving, then > running, it works. When I try any of the above ways to reference a date > from a form, the query results are always empty. > > Any ideas? > Thanks > Fred Parkinson ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html --=_326D7F04.2C4D2F1A Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Description: HTML
I will look into that, but I seem to recall that when w= e were=20 setting up the databases in postgres a couple of months ago, that if we lef= t the=20 time zone off then access didn't recognize the field as a date/time=20 field
 
Thanks for responding
Fred


>>> "John K. Herreshoff" <jkherr@centurytel.net>= ;=20 03/23/03 12:44PM >>>
Try without time zone; that should work.&n= bsp;=20

John.

On Sunday 23 March 2003 02:51 pm, Fred Parkinson=20 wrote:
> in postgres 7.2
> Using the postgres timestamp with=20 timezone, I can't seem to extract records
> using Access and requesti= ng a=20 range of dates, unless the date is hard-coded
> into the Access=20 query.
>
> I want to reference a range of dates that a user has= =20 entered on a form.
> I have referenced to user-entered dates with and= =20 without the date bracketed
> by "#". In the date range I submit to th= e=20 query I have referenced the full
> time stamp string where I construc= t the=20 start date as "xx/xx/xx 12:00:00
> AM" and the end date as "xx/xx/xx= =20 12:59:59 PM" (not the same xx/xx/xx
> obvioulsy) I have referenced th= e=20 dates with and without the double quotes.
> I have referenced only th= e=20 left 10 characters of the dates, i.e., the day
> part.
>
>= ;=20 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 Any ideas?
> Thanks
> Fred=20 Parkinson


---------------------------(end of=20 broadcast)---------------------------
TIP 5: Have you checked our extens= ive=20 FAQ?

http://www.postgresql= .org/docs/faqs/FAQ.html
--=_326D7F04.2C4D2F1A--