From: Campbell, Greg <greg.campbell@us.michelin.com>
To: ioguix <igxnews@free.fr>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Access97/odbcUnicode/pgsql : unable to map text fieldto memo type
Date: Fri, 09 Jun 2006 12:00:06 -0400
Message-ID: <44899B06.2040602@us.michelin.com> (raw)
In-Reply-To: <4487EE7F.3000603@free.fr>
References: <4487EE7F.3000603@free.fr>
Its an Access problem.
I made linked tables to a postgresql 8.x database (on Linux server) with Access 97 and Access XP.
Access 97 interpreted the Postgresql text type column as Access Text(255) (That's Bad).
Access XP interpreted the same as Memo (That is Good).
I don't know if any of the ODBC driver settings can overcome the issue.
ioguix wrote:
> Hello,
>
> I use odbc unicode driver to link tables from my pgsql 8.1.3 server to
> Access97 SR2 (and latest jet engine 4.0 SP 8).
>
> Everything is working well, even inserting row work without #deleted on
> update (like with the ansi driver despite of serial PK on tables :s)
>
> Actualy, one thing doesn't work properly. It's a well know issue, but I
> didn't find how to correct it (_and_I_read_lots_of_webpages_about_that_!_)
>
> TEXT type in my pgsql database aren't map to memo type in Access. I
> don't mind sorting, index or order on these fields, but I really need
> more than 255 chars on them.
>
> And, yes, checked the "text as LongVarChar" in the ODBC configuration.
>
> Here the table I use for my tests :
>
> CREATE TABLE test
> (
> id serial NOT NULL,
> txt text NOT NULL DEFAULT ''::text,
> CONSTRAINT test_pkey PRIMARY KEY (id)
> )
> WITH OIDS;
>
> I think you will find the complete ODBC configuration in the HUGE logs
> here : http://ioguix.free.fr/pgsqllog.log
>
> Please....help... (or point me in the right direction)
>
> Thanks
Attachments:greg.campbell.vcf (text/x-vcard, 239B) download
begin:vcard
fn:Greg Campbell
n:Campbell;Greg
org:Michelin North America - US5 Lexington;ENG-ASE
email;internet:greg.campbell@us.michelin.com
title:ASE Systems Engineer
tel;work:803-951-5561/x75561
x-mozilla-html:FALSE
version:2.1
end:vcard
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: greg.campbell@us.michelin.com, igxnews@free.fr
Subject: Re: Access97/odbcUnicode/pgsql : unable to map text fieldto memo type
In-Reply-To: <44899B06.2040602@us.michelin.com>
References: <4487EE7F.3000603@free.fr> <44899B06.2040602@us.michelin.com>
* 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