From: Adrian Klaver <aklaver@comcast.net>
To: pgsql-odbc@postgresql.org
Cc: Paul Lambert <paul.lambert@autoledgers.com.au>
Subject: Re: Strange ODBC behavior.
Date: Sun, 5 Aug 2007 16:41:18 -0700
Message-ID: <200708051641.18640.aklaver@comcast.net> (raw)
In-Reply-To: <46B64E81.8020803@autoledgers.com.au>
References: <46B288AF.60907@autoledgers.com.au>
<46B331EA.609@commandprompt.com>
<46B64E81.8020803@autoledgers.com.au>
On Sunday 05 August 2007 3:26 pm, Paul Lambert wrote:
> Andrei Kovalevski wrote:
> >> Any thoughts on this or is it more of an access issue?
> >
> > 1) Could you post here CREATE script for one of the tables with problem
> > you descrived? #delete message appears when something happens to the
> > primary keys.
> > 2) What is the version of your MS Access? PostgreSQL? Unicode or ANSI
> > driver version?
> > 3) Please, have a look on the linked table structure as it's recognised
> > by MS Access. And post it here.
> >
> >
> > Andrei.
>
> I believe I have found the problem.
>
> The primary key fields are defined in PG as type text, but MS access is
> bringing them across as type "memo" - whatever that is.
>
> It seems to be bringing most text type fields across like this.
>
> I changed them to varchar on one of the tables I'm having a problem
> with, relinked and they are coming across with a type of text on the
> fields now and I can see the data without issue.
>
> Strange... has anyone see that before?
Actually this has been noted before. Search Google or psql-odbc archives for
references. There are some changes you can make to the ODBC settings to help.
Unfortunately, I cannot remember them off the top of my head. I only bring
this up because I saw your post on the general list about changing the type
of 600 text columns. You might find it easier to change the behavior of the
ODBC driver.
--
Adrian Klaver
aklaver@comcast.net
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: aklaver@comcast.net, paul.lambert@autoledgers.com.au
Subject: Re: Strange ODBC behavior.
In-Reply-To: <200708051641.18640.aklaver@comcast.net>
References: <46B288AF.60907@autoledgers.com.au> <46B331EA.609@commandprompt.com> <46B64E81.8020803@autoledgers.com.au> <200708051641.18640.aklaver@comcast.net>
* 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