Unix Technical Forum

Access97/odbcUnicode/pgsql : unable to map text field to memo type

This is a discussion on Access97/odbcUnicode/pgsql : unable to map text field to memo type within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Hello, I use odbc unicode driver to link tables from my pgsql 8.1.3 server to Access97 SR2 (and latest ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:00 AM
ioguix
 
Posts: n/a
Default Access97/odbcUnicode/pgsql : unable to map text field to memo type

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
--
+-----------------+
| IoGuiX |
| igxnews@free.fr |
+-----------------+

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 02:00 AM
Campbell, Greg
 
Posts: n/a
Default Re: Access97/odbcUnicode/pgsql : unable to map text fieldto memo type

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



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:37 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com