From: P.MO <04mic4ht65k1nv3@jetable.net>
To: pgsql-odbc@postgresql.org
Subject: Re: Problem with the PGSQL-ODBC driver and MS Access
Date: Wed, 26 Apr 2006 22:48:54 +0200
Message-ID: <6.2.3.4.2.20060426224148.02af4650@routeur> (raw)
In-Reply-To: <444FA356.2080706@amsoftwaredesign.com>
References: <444FA356.2080706@amsoftwaredesign.com>
At 18:44 26/04/2006, you wrote:
>Hi,
>I have a user who has been converting some data from access to a
>Postgresql 8.1.3 backend and we ran into
>a issue where some records would show up in Access with all the fields
>as #deleted
I've seen this sometimes when using "timestamp": access doesn't
understand well the fractionnal part of it. You should instead use
timestamp(0).
db=> create temp table zz ( field1 timestamp(0), field2 timestamp );
CREATE TABLE
db=> insert into zz values (now(),now());
INSERT 0 1
db=> select * from zz ;
field1 | field2
---------------------+----------------------------
2006-04-26 22:44:42 | 2006-04-26 22:44:41.893001
(1 row)
----------------------------------------------------------
field1 will be understandable by access, not field2.
msaccess in that case will show "deleted" in all cells.
hopes that help . P.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: 04mic4ht65k1nv3@jetable.net
Subject: Re: Problem with the PGSQL-ODBC driver and MS Access
In-Reply-To: <6.2.3.4.2.20060426224148.02af4650@routeur>
References: <444FA356.2080706@amsoftwaredesign.com> <6.2.3.4.2.20060426224148.02af4650@routeur>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox