X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0344A474E53 for ; Sun, 23 Mar 2003 14:51:32 -0500 (EST) Received: from iserver.abag.ca.gov (iserver.abag.ca.gov [198.31.87.3]) by postgresql.org (Postfix) with ESMTP id 787FF474E44 for ; Sun, 23 Mar 2003 14:51:31 -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 h2NJpVo3024734 for ; Sun, 23 Mar 2003 11:51:31 -0800 (PST) Received: from D01-Message_Server by groupwise.abag.ca.gov with Novell_GroupWise; Sun, 23 Mar 2003 11:51:31 -0800 Message-Id: X-Mailer: Novell GroupWise Internet Agent 5.5.6.1 Date: Sun, 23 Mar 2003 11:51:23 -0800 From: "Fred Parkinson" To: Subject: psql dates in Access Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_6B342653.D6B7D5FF" X-Spam-Status: No, hits=1.2 required=5.0 tests=HTML_20_30,HTML_MESSAGE 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/57 X-Sequence-Number: 2776 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. --=_6B342653.D6B7D5FF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable in postgres 7.2 Using the postgres timestamp with timezone, I can't seem to extract records= using Access and requesting a range of dates, unless the date is hard-code= d 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 bracketed= by "#". In the date range I submit to the query I have referenced the full time sta= mp string where I construct the start date as "xx/xx/xx 12:00:00 AM" and th= e 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 p= art. 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 --=_6B342653.D6B7D5FF Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Description: HTML
in postgres 7.2
Using the postgres timestamp with timezone, I can't see= m to=20 extract records using Access and requesting a range of dates, unless the da= te is=20 hard-coded into the Access query.
 
I want to reference a range of dates that a user has en= tered=20 on a form.
I have referenced to user-entered dates with and withou= t the=20 date bracketed by "#".
In the date range I submit to the query I have referenc= ed the=20 full time stamp string where I construct the start date as "xx/xx/xx 12:00:= 00=20 AM" and the end date as "xx/xx/xx 12:59:59 PM" (not the same xx/xx/xx=20 obvioulsy)
I have referenced the dates with and without the double= =20 quotes.
I have referenced only the left 10 characters of the da= tes,=20 i.e., the day part.
 
When I manually enter the desired dates into the query = before=20 saving, then running, it works.
When I try any of the above ways to reference a date fr= om a=20 form, the query results are always empty.
 
Any ideas?
Thanks
Fred Parkinson
--=_6B342653.D6B7D5FF--