pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
MS Access adds always actual day in time defined postgres column
2+ messages / 2 participants
[nested] [flat]

* MS Access adds always actual day in time defined postgres column
@ 2017-12-15 13:32 Uwe Nowag <nowag@mbg-solutions.com>
  2017-12-16 01:00 ` Re: MS Access adds always actual day in time defined postgres column Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: Uwe Nowag @ 2017-12-15 13:32 UTC (permalink / raw)
  To: pgsql-odbc

Hallo,

We are moving BackEnd tables from a large MS Access application to postgresql.

In one table we have a field "Zeit" defined in postgres as

time(0) without time zone DEFAULT ('now'::text)::time(0) without time zone,

The linked table inside Access shows the actual day in front of the time value. Using the 24-hour format for displaying time values in Access looks fine. But by entering the field, the day appears automatically.

If I import the same table via ODBC to excel, I have the same behavior: the day appears as prefix inside the time cell.
In the non Microsoft Application tool "ODBC query tool v1.39" (Jaime de los Hoyos) everything works fine.
The problem probably concerns only Microsoft products.


Cause I can't merge the time and the day field together in one timestamp field, I am looking for a workaround.


we use
MS Access 2010
ODBC: PostgreSQL Unicode 10.00.00 PSQLODBC35W.DLL 13.10.2017
PostgreSQL 10.1 as backend on ubuntu

thanks


Mit freundlichen Grüßen | Best regards | Cordialement

Uwe Nowag
Datenbanken/Software | Software Development

T +49 30 844168-502
F +49 30 844168-503
M +49 175 5821272
nowag@mbg-solutions.com


[cid:image001.gif@01D375B1.30FDD8C0]
Mastbau Gärtner GmbH | Naumannpark | Haus 12 | Wilhelm-Kabus-Straße 46 | 10829 Berlin | Germany
Amtsgericht Charlottenburg Nr. 96 HRB 20003 | USt.-Id.-Nr.: DE 136 728 360
Geschäftsführer: Jens Gockel, Karl-Heinz Simon
www.mbg-solutions.com <http://www.mbg-solutions.com;

Attachments:

image001.gif (image/gif, 2.4K) download view image
mylog_MSACCESS_6964_only_linked_table_view.log (application/octet-stream, 6.7K) download
screenshot.PNG (image/png, 5.1K) download view image
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: MS Access adds always actual day in time defined postgres column
  2017-12-15 13:32 MS Access adds always actual day in time defined postgres column Uwe Nowag <nowag@mbg-solutions.com>
@ 2017-12-16 01:00 ` Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Inoue, Hiroshi @ 2017-12-16 01:00 UTC (permalink / raw)
  To: Uwe Nowag <nowag@mbg-solutions.com>; +Cc: pgsql-odbc

Hi,

On 2017/12/15 22:32, Uwe Nowag wrote:
>
> Hallo,
>
> We are moving BackEnd tables from a large MS Access application to 
> postgresql.
>
> In one table we have a field “Zeit" defined in postgres as
>
>
> time(0) without time zone DEFAULT ('now'::text)::time(0) without time 
> zone,
>

Why don't you use timestamp?

regards,
Hiroshi Inoue

>
> The linked table inside Access shows the actual day in front of the 
> time value. Using the 24-hour format for displaying time values in 
> Access looks fine. But by entering the field, the day appears 
> automatically.
>
> If I import the same table via ODBC to excel, I have the same 
> behavior: the day appears as prefix inside the time cell.
> In the non Microsoft Application tool "ODBC query tool v1.39" (Jaime 
> de los Hoyos) everything works fine.
> The problem probably concerns only Microsoft products.
>
>
> Cause I can't merge the time and the day field together in one 
> timestamp field, I am looking for a workaround.
>
>
> we use
> MS Access 2010
> ODBC: PostgreSQL Unicode 10.00.00 PSQLODBC35W.DLL 13.10.2017
> PostgreSQL 10.1 as backend on ubuntu
>
> thanks
>
>
> Mit freundlichen Grüßen | Best regards | Cordialement
>
> Uwe Nowag
> Datenbanken/Software | Software Development
>
> T +49 30 844168-502
> F +49 30 844168-503
> M +49 175 5821272
> nowag@mbg-solutions.com
>
>
> Mastbau Gärtner GmbH | Naumannpark | Haus 12 | Wilhelm-Kabus-Straße 46 
> | 10829 Berlin | Germany
> Amtsgericht Charlottenburg Nr. 96 HRB 20003 | USt.-Id.-Nr.: DE 136 728 360
> Geschäftsführer: Jens Gockel, Karl-Heinz Simon
> www.mbg-solutions.com <http://www.mbg-solutions.com;
>

Attachments:

image001.gif (image/gif, 2.4K) download view image
^ permalink raw reply [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-12-16 01:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-12-15 13:32 MS Access adds always actual day in time defined postgres column Uwe Nowag <nowag@mbg-solutions.com>
2017-12-16 01:00 ` Inoue, Hiroshi <h-inoue@dream.email.ne.jp>

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